# Инфраструктура lab7 Топология и параметры — в корневом compose.yaml. Секреты в Git не хранятся. | Role | Service | Version | Health | Volume | Network / port | Credentials | | --- | --- | --- | --- | --- | --- | --- | | load_balancer | traefik | v3.5.4 | TCP 8443 | - | edge / 127.0.0.1:8443 | public + lb-client leaf | | api x2 | api | local 7.0.0 | /health/live and Traefik /health/ready via mTLS | - | edge, app, data / none | AppRole api -> DB/S3/broker | | worker | worker | local 7.0.0 | worker_health heartbeat | - | app, data / none | AppRole worker | | relay | relay | local 7.0.0 | worker_health heartbeat | - | app, data / none | AppRole relay | | postgres | postgres | 16.15 | pg_isready | pgdata | data / none | bootstrap superuser + app roles | | s3 | minio | digest 14cea493 | https health/live | miniodata | data / none | root only minio-init; scoped users | | broker | rabbitmq | 4.1.4 | diagnostics ping | rabbitmqdata | broker / none | root bootstrap; api/worker users | | mtls gateway | internal-gateway | local 7.0.0 | TCP 5671 | - | app, broker, otelnet / none | gateway leaf + client | | otel_collector | otel-collector | 0.140.0 | health_check 13133 | - | otelnet, telemetry, collectorscrape / none | telemetry-client | | telemetry_storage | prometheus/loki/tempo | 3.7.3 / 3.6.2 / 2.9.0 | Prometheus health | promdata/lokidata/tempodata | private + telemetry / none | mTLS sidecars | | grafana | grafana | 12.2.0 | HTTPS /api/health | grafanadata | telemetry, admin / 127.0.0.1:3000 | admin secret + grafana-client | | openbao | openbao | 2.3.2 | /v1/sys/init | openbaodata | data, admin / 127.0.0.1:8200 | AppRole; root/unseal operator only | Bootstrap: scripts/bootstrap-certs.sh, bootstrap-secrets.sh, db-init.sh (roles before migrations, grants after), minio-init.sh, openbao_bootstrap.py (container openbao-bootstrap), bootstrap-rabbit.sh. Restart/failover: scripts/restart.sh and scripts/stop-one.sh; volumes are not removed. Stateful PostgreSQL/MinIO/RabbitMQ are an explained exception from read_only/cap_drop: they need writable volumes and image capabilities.