114 lines
2.8 KiB
JSON
114 lines
2.8 KiB
JSON
{
|
|
"stack": "mtusi-lab3",
|
|
"docker": "29.5.2",
|
|
"services": {
|
|
"lb": {
|
|
"image": "haproxy:3.2.6-alpine",
|
|
"limits": {
|
|
"NanoCPUs": 500000000,
|
|
"MemoryBytes": 134217728
|
|
},
|
|
"published_ports": [
|
|
{
|
|
"Protocol": "tcp",
|
|
"TargetPort": 8080,
|
|
"PublishedPort": 8080,
|
|
"PublishMode": "host"
|
|
}
|
|
],
|
|
"secret_names": [],
|
|
"mounts": [],
|
|
"tasks": [
|
|
{
|
|
"id": "sc5kejnbxewfi6kz9k12dg3do",
|
|
"state": "running",
|
|
"container": "b37490c46acb64d0a685937aa795c4dc733736dbec1a074be9d21cd94db66f41"
|
|
}
|
|
]
|
|
},
|
|
"api": {
|
|
"image": "mtusi-messenger:lab3",
|
|
"limits": {
|
|
"NanoCPUs": 1000000000,
|
|
"MemoryBytes": 268435456
|
|
},
|
|
"published_ports": [],
|
|
"secret_names": [
|
|
"mtusi-lab3_cursor_key",
|
|
"mtusi-lab3_postgres_password"
|
|
],
|
|
"mounts": [],
|
|
"tasks": [
|
|
{
|
|
"id": "u0j50pbkblnvcv98a2si54z2z",
|
|
"state": "running",
|
|
"container": "97e29f159b4ea7a73541b784601fb6e6a1a8424f41c29afd610d48098cb80039"
|
|
},
|
|
{
|
|
"id": "fmylw9crxw40164mjyrtp5umu",
|
|
"state": "running",
|
|
"container": "9ad9fca4a9047d1c31db3e473b8c275c87f734dcd654269a35bc11cd32cff02d"
|
|
}
|
|
]
|
|
},
|
|
"postgres": {
|
|
"image": "postgres:17.6-alpine3.22",
|
|
"limits": {
|
|
"NanoCPUs": 1000000000,
|
|
"MemoryBytes": 536870912
|
|
},
|
|
"published_ports": [],
|
|
"secret_names": [
|
|
"mtusi-lab3_postgres_password"
|
|
],
|
|
"mounts": [
|
|
{
|
|
"Type": "volume",
|
|
"Source": "mtusi-lab3_postgres_data",
|
|
"Target": "/var/lib/postgresql/data",
|
|
"VolumeOptions": {
|
|
"Labels": {
|
|
"com.docker.stack.namespace": "mtusi-lab3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tasks": [
|
|
{
|
|
"id": "2j4b949ieib9pijyi46u4cbc2",
|
|
"state": "running",
|
|
"container": "0714166a0ac92ca76b790e1f369ac54e4bfe9ead64ca84932ce7283be46ed513"
|
|
}
|
|
]
|
|
},
|
|
"redis": {
|
|
"image": "redis:7.4.5-alpine3.21",
|
|
"limits": {
|
|
"NanoCPUs": 500000000,
|
|
"MemoryBytes": 134217728
|
|
},
|
|
"published_ports": [],
|
|
"secret_names": [],
|
|
"mounts": [
|
|
{
|
|
"Type": "volume",
|
|
"Source": "mtusi-lab3_redis_data",
|
|
"Target": "/data",
|
|
"VolumeOptions": {
|
|
"Labels": {
|
|
"com.docker.stack.namespace": "mtusi-lab3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tasks": [
|
|
{
|
|
"id": "z64v9apjenrycl2apz8ik1ytl",
|
|
"state": "running",
|
|
"container": "b39c87f1b35cffea64d0aefc9c7f80caa9f059f4a2da4ecf44933f8dac76df69"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|