Files
mtusi2026lab3/student-tests/failures.compose.yml
T
2026-10-11 14:10:43 +03:00

16 lines
907 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Override стенда отказов make failure_checks (student-tests/run_failures.py):
# тот же docker-compose.yml под проектом <рабочий>-failures (имя рабочего
# проекта — из name в docker-compose.yml, сейчас mtusi-lab3), со своим
# volume и сетью. Порты Postgres и Valkey не публикуются: к ним ходит только
# fault_hook.py через docker compose exec. Сервисы api и haproxy не
# запускаются: контейнеры API создаёт оркестратор (docker compose run
# -p 127.0.0.1:...), у реплик api своих портов нет. Порт LB сброшен, чтобы
# случайный up не занял APP_OUT_PORT рабочего стенда.
services:
postgres:
ports: !reset []
valkey:
ports: !reset []
haproxy:
ports: !reset []