date: 2026-11-05T22:59:48Z  commit: 763b0255575366082c4c6731b54611af717685a5
$ docker compose --env-file .env config --quiet && echo valid
valid
$ docker compose ps --format '{{.Service}} {{.Name}} {{.Status}} {{.Ports}}'
api hlpipe-lab4-grades-20261106-api-1 Up About a minute (healthy) 
api hlpipe-lab4-grades-20261106-api-2 Up 52 seconds (healthy) 
lb hlpipe-lab4-grades-20261106-lb-1 Up About a minute (healthy) 127.0.0.1:18084->8080/tcp, 127.0.0.1:24844->8404/tcp
postgres hlpipe-lab4-grades-20261106-postgres-1 Up About a minute (healthy) 
s3 hlpipe-lab4-grades-20261106-s3-1 Up 25 seconds (healthy) 
valkey hlpipe-lab4-grades-20261106-valkey-1 Up About a minute (healthy) 
$ docker compose config | grep -c container_name
0
$ docker port <каждая реплика api>   # реплики не публикуют порт
cff4a17e0883: []
f2e1260f6803: []
$ docker inspect: hostname = X-Instance-Id, сети, лимиты CPU (nano) и памяти
api cff4a17e0883 /hlpipe-lab4-grades-20261106-api-1 nets=hlpipe-lab4-grades-20261106_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
api f2e1260f6803 /hlpipe-lab4-grades-20261106-api-2 nets=hlpipe-lab4-grades-20261106_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
lb 5f001dc38f7f /hlpipe-lab4-grades-20261106-lb-1 nets=hlpipe-lab4-grades-20261106_backend,hlpipe-lab4-grades-20261106_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
postgres d390978734bf /hlpipe-lab4-grades-20261106-postgres-1 nets=hlpipe-lab4-grades-20261106_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
s3 a1dccc133510 /hlpipe-lab4-grades-20261106-s3-1 nets=hlpipe-lab4-grades-20261106_backend, cpus=1000000000 mem=536870912 user=rustfs ro=true
valkey e17243696dd9 /hlpipe-lab4-grades-20261106-valkey-1 nets=hlpipe-lab4-grades-20261106_backend, cpus=500000000 mem=134217728 user=999:1000 ro=false
$ curl LB stats: backend api, server status check
api1 UP L7OK 200
api2 UP L7OK 200
BACKEND UP  
$ for i in 1..6: curl -D - http://127.0.0.1:18084/health/live | X-Instance-Id
x-instance-id: cff4a17e0883
x-instance-id: f2e1260f6803
x-instance-id: cff4a17e0883
x-instance-id: f2e1260f6803
x-instance-id: cff4a17e0883
x-instance-id: f2e1260f6803
