forked from mtusi2026/mtusi2026lab3
72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
{
|
|
"compose_cli": "2.40.3",
|
|
"configuration": "valid",
|
|
"runtime": "not executed: no Docker daemon",
|
|
"services": {
|
|
"api1": {
|
|
"image": "mtusi-lab3-api:local",
|
|
"cpus": 0.5,
|
|
"mem_limit": "268435456",
|
|
"ports": null,
|
|
"networks": {
|
|
"data": null,
|
|
"front": null
|
|
}
|
|
},
|
|
"api2": {
|
|
"image": "mtusi-lab3-api:local",
|
|
"cpus": 0.5,
|
|
"mem_limit": "268435456",
|
|
"ports": null,
|
|
"networks": {
|
|
"data": null,
|
|
"front": null
|
|
}
|
|
},
|
|
"db": {
|
|
"image": "postgres:16.4-alpine",
|
|
"cpus": 1,
|
|
"mem_limit": "536870912",
|
|
"ports": null,
|
|
"networks": {
|
|
"data": null
|
|
}
|
|
},
|
|
"lb": {
|
|
"image": "haproxy:3.0.5-alpine",
|
|
"cpus": 0.25,
|
|
"mem_limit": "134217728",
|
|
"ports": [
|
|
{
|
|
"mode": "ingress",
|
|
"host_ip": "127.0.0.1",
|
|
"target": 8080,
|
|
"published": "8080",
|
|
"protocol": "tcp"
|
|
}
|
|
],
|
|
"networks": {
|
|
"front": null
|
|
}
|
|
},
|
|
"migrate": {
|
|
"image": "mtusi-lab3-api:local",
|
|
"cpus": 0.5,
|
|
"mem_limit": "268435456",
|
|
"ports": null,
|
|
"networks": {
|
|
"data": null
|
|
}
|
|
},
|
|
"redis": {
|
|
"image": "redis:7.4.1-alpine",
|
|
"cpus": 0.25,
|
|
"mem_limit": "134217728",
|
|
"ports": null,
|
|
"networks": {
|
|
"data": null
|
|
}
|
|
}
|
|
}
|
|
}
|