date: 2026-11-05T22:59:48Z commit: 763b0255575366082c4c6731b54611af717685a5 environment: {"COMPOSE_PROJECT_NAME": "hlpipe-lab4-grades-20261106", "COMPOSE_FILE": "compose.yaml", "LB_HTTP_PORT": "18084", "LB_STATS_PORT": "24844", "BASE_URL": "http://127.0.0.1:18084", "EVIDENCE_DIR": "evidence/sqlalchemy-2026-11-06/grade3", "NO_PROXY": "localhost,127.0.0.1,::1"} $ sh scripts/evidence-stack.sh http://127.0.0.1:18084 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 date: 2026-11-05T22:59:49Z commit: 763b0255575366082c4c6731b54611af717685a5 host: Apple M4 Max, 16 CPU, 48 GiB RAM, macOS 15.1 docker: 28.3.2, VM: 16 CPU, 8217190400 bytes compose: 2.38.2-desktop.1 images: image: ${API_IMAGE:-mtusi-messenger:${COMPOSE_PROJECT_NAME}} image: rustfs/rc:v0.1.36@sha256:ab024bfebee49a750ce886b4c70963ccd9ddaa03f491704a90710641d7a26699 image: haproxy:3.2.26-alpine@sha256:5893840576071e6217cd52ebdcc14f454c6f7a631056fa6f4e0f40d3cac4215b image: postgres:17.11-alpine@sha256:266d3c257594e195b309ae9d1805e54c788f1d7b375f56bf6c367aac6c917e7b image: valkey/valkey:8.1.11-alpine@sha256:2602ace2be6569bc2bbb06f873776516ab9089821525be34f4305c67eb9db02a image: rustfs/rustfs:1.0.4@sha256:ed9210d6411d77ffceb70d94b964a3cb7d225983368bc25bebe01e995293dcc2 image: grafana/k6:2.3.0@sha256:2dd4756ec6e14e62778916e1eb850108e4b499304c02df56760fa0bdb0fba0b8 FROM python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d AS builder COPY --from=ghcr.io/astral-sh/uv:0.9.7@sha256:ba4857bf2a068e9bc0e64eed8563b065908a4cd6bfb66b531a9c424c8e25e142 /uv /usr/local/bin/uv FROM python:3.14-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d AS runtime python in image: Python 3.14.7 haproxy: HAProxy version 3.2.26-3e0f11a 2026/10/14 - https://haproxy.org/ rustfs: rustfs 1.0.4 packages (uv.lock): fastapi 0.141.1 uvicorn 0.54.0 uvicorn-worker 0.4.0 gunicorn 26.2.0 sqlalchemy 2.0.45 alembic 1.16.5 asyncpg 0.32.0 argon2-cffi 25.1.0 pydantic 2.13.5 pydantic-settings 2.15.0 dishka 1.10.1 structlog 26.1.0 redis 8.1.0 aiobotocore 3.10.0 botocore 1.43.117 aiohttp 3.14.5 pillow 13.0.0 process users (service uid command): api 10001 python lb 99 haproxy postgres 70 postgres s3 10001 rustfs valkey 999 tini valkey 999 valkey-server exit_code: 0 elapsed_seconds: 2.258