lab 3 done
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"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": "il7ir1lkjvmq2nsy31vghl6tx",
|
||||
"state": "running",
|
||||
"container": "ea9c79e6c90548c847bcba27b0d7fc61c87e8b6c210315286261110031f82c6b"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "xuchr7a1onu09qkhy2da43fnk",
|
||||
"state": "running",
|
||||
"container": "3d65bcafce0cd37991fc084b72dddf1aaa37646a2bebda38f9e6c31dc1741fdf"
|
||||
},
|
||||
{
|
||||
"id": "r15teoyf6c4ralue4ujf0sta7",
|
||||
"state": "running",
|
||||
"container": "3b4acff3d549f199980c6bb0c3a0d3716ebb4d36b5d4c5932916f36ac2762e67"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "79uxegfkp21hpdelbzl1ietk2",
|
||||
"state": "running",
|
||||
"container": "33820656afacc4420df4621824f2815e78183d4a99a62e1e01e4ead45ff4e5b0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "jiw6nj1ncb4ic9eo31p776yfo",
|
||||
"state": "running",
|
||||
"container": "0853444b9380a667af95ad774d16448faf8dcb078ef1a6e7d9e3a6463706e130"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user