Files
mtusi2026lab7-safronov/bench/queue.compose.yml
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

25 lines
1.5 KiB
YAML
Raw Permalink 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 профиля очереди (третий -f, только этот профиль; design change
# track1-queue-overload, решение 10). Плагин метрик брокера и интервал
# статистики в секунду: порт 15692 — только сеть стенда, порты брокера сброшены
# в bench.compose.yml. С change messaging-telemetry-mtls список плагинов — ещё и
# вход по сертификату (rabbitmq_auth_mechanism_ssl): файл заменяет список
# рабочего стенда тем же путём, остальные монтирования, tmpfs и secrets брокера
# остаются из основного файла. Worker перезапускается, как на рабочем стенде: ядро может
# завершить его процесс 1, когда конкуренция не помещается в лимит памяти, и без
# перезапуска ячейка простояла бы до срока окна с ложными stuck. Пути — от
# каталога первого файла compose (корень репозитория)
services:
rabbitmq:
volumes:
- type: bind
source: ./bench/rabbitmq/enabled_plugins
target: /etc/rabbitmq/enabled_plugins
read_only: true
- type: bind
source: ./bench/rabbitmq/91-bench.conf
target: /etc/rabbitmq/conf.d/91-bench.conf
read_only: true
worker:
restart: unless-stopped