Files
mtusi2026lab7-safronov/bench/bench.env
T
ricoromaandClaude Opus 5.5 8236027e92 feat: require mTLS with certificate login for RabbitMQ and split relay and worker rights
Broker accepts only TLS 1.3 with a client certificate checked against the
stand CRL; login is EXTERNAL by certificate DNS SAN, broker passwords are
gone. Relay may declare its queue and publish, worker may only consume.
Definitions and TLS material checks come from infra/rabbitmq/start.sh;
temporary stands, CI, bench and the fault hook use the same mTLS identities.
Adds make broker_mtls_check [REPORT=1] and drops the rollback broker compose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:34:47 +03:00

22 lines
1.1 KiB
Bash
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.
# Подстановки compose для стенда make bench вместо .env рабочего стенда
# (docker compose --env-file bench/bench.env). Только несекретные имена и
# порты внутри сети стенда: пароли генерирует bench/run.py на каждый
# прогон, лимиты и срок сессии приходят из Profile (BENCH_*).
POSTGRES_USER=bench
POSTGRES_DB=bench
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
VALKEY_HOST=valkey
VALKEY_PORT=6379
# S3 запускает только профиль uploads (лаба 4), профили лаб 2–3 — нет;
# секреты S3 генерирует run.py
S3_HOST=s3
S3_PORT=8333
S3__BUCKET=bench
# брокер, relay и worker запускают только профили очереди; compose требует эти
# значения при разборе. С change messaging-telemetry-mtls — только TLS-порт и
# вход по сертификату identity relay / worker PKI прогона, пароля брокера нет
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5671
APP__PORT=8080