Compose create
POST /compose/create?project=blog HTTP/1.1
Content-Type: application/json
{
"NetworkConfigs": {},
"ServiceConfigs": {
"M": {
"db": {
"environment": [
"MYSQL_ROOT_PASSWORD=my-secret-pw"
],
"external_links": null,
"image": "mysql:latest"
},
"web": {
"depends_on": [
"db"
],
"external_links": null,
"image": "wordpress:latest",
"links": [
"db:mysql"
]
}
}
},
"VolumeConfigs": {}
}Last updated