date: 2026-10-30 (стенд после up --scale api=2; имена контейнеров scale могут быть api-1/api-2 или api-4/api-5)

command:
docker compose --env-file .env ps --format "table {{.Name}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}"

observed (healthy two-replica topology; API has no host port):

NAME                    IMAGE                                                                                             STATUS                    PORTS
mtusi-lab3-api-4        mtusi-lab3-api                                                                                    Up (healthy)              8080/tcp
mtusi-lab3-api-5        mtusi-lab3-api                                                                                    Up (healthy)              8080/tcp
mtusi-lab3-lb-1         haproxy:3.2-bookworm@sha256:baecd003ae5c2376e58d04a5b2ffc7d82d30e9bebe2869f76222b819f719dee3      Up (healthy)              127.0.0.1:8080->8080/tcp, [::1]:8080->8080
mtusi-lab3-postgres-1   postgres:16.10-bookworm@sha256:38471f330eb885e04de130b768d6db4e10469e2311879c7e5c699f6d2d8a1c74   Up (healthy)              127.0.0.1:5433->5432/tcp
mtusi-lab3-redis-1      redis:7.4.6-alpine@sha256:3b73847e72874be07e6657b129a94761662b79bc0f679273757d4218573b2a98        Up (healthy)              127.0.0.1:6379->6379/tcp

Notes:
- API 8080/tcp is the container port only; it is not published on the host.
- Public entry is only the lb mapping on loopback IPv4 and IPv6.
- migrate is a one-shot container (Exited 0 after schema apply), not a replica.
