This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| openapi: 3.0.1 | |
| info: | |
| title: BG PSD2 API | |
| version: "1.2" | |
| description: | | |
| # Summary | |
| The **NextGenPSD2** *Framework Version 1.2* offers a modern, open, harmonised and interoperable set of | |
| Application Programming Interfaces (APIs) as the safest and most efficient way to provide data securely. | |
| The NextGenPSD2 Framework reduces XS2A complexity and costs, addresses the problem of multiple competing standards | |
| in Europe and, aligned with the goals of the Euro Retail Payments Board, |
| module DapperFSharp = | |
| open System.Data.SqlClient | |
| open System.Dynamic | |
| open System.Collections.Generic | |
| open Dapper | |
| let dapperQuery<'Result> (query:string) (connection:SqlConnection) = | |
| connection.Query<'Result>(query) | |
| let dapperParametrizedQuery<'Result> (query:string) (param:obj) (connection:SqlConnection) : 'Result seq = |
| open System | |
| type Html = | |
| | Tag of string * Html list | |
| | Attribute of string * string | |
| | Content of string | |
| override __.ToString() = | |
| match __ with | |
| | Tag (tag,htmls) -> | |
| let mutable attributes = "" |
| // This will generate a database, but EF will not materialize the objects | |
| // because our types do not have default parameterless constructors | |
| namespace DataModel | |
| open System | |
| open System.ComponentModel.DataAnnotations | |
| open System.Data.Entity | |
| type User = { mutable ID : int; mutable Name: string; mutable DB: DateTime; mutable Tasks: Task[]; | |
| mutable Projects: Project[] } |
| // [snippet: Async socket server using F# async computations.] | |
| open System | |
| open System.IO | |
| open System.Net | |
| open System.Net.Sockets | |
| open System.Threading | |
| type Socket with | |
| member socket.AsyncAccept() = Async.FromBeginEnd(socket.BeginAccept, socket.EndAccept) |