forked from mtusi2026/mtusi2026lab7
Перенос решения ЛР 6 без изменений (src, migrations, student-tests, bench, infra, scripts, compose, Dockerfile, docs)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# RabbitMQ 4.3 of the lab 5 stand (compose service `broker`), mounted as conf.d/20-lab5.conf.
|
||||
# Only AMQP 0-9-1 on 5672 inside the internal network `queue`: no management UI, no Prometheus
|
||||
# listener (enabled_plugins is empty), nothing published on the host.
|
||||
listeners.tcp.default = 5672
|
||||
|
||||
# Users, permissions and topology are imported from files at every boot (idempotent):
|
||||
# /etc/rabbitmq/definitions.d/topology.json exchanges, quorum queues, bindings (this repo)
|
||||
# /etc/rabbitmq/definitions.d/users.json users relay/worker + permissions (Docker secret,
|
||||
# generated by scripts/init_secrets.py)
|
||||
# With imported definitions no default `guest` user is created.
|
||||
definitions.import_backend = local_filesystem
|
||||
definitions.local.path = /etc/rabbitmq/definitions.d
|
||||
definitions.skip_if_unchanged = false
|
||||
|
||||
# A delivery that stays unacked longer than this closes the consumer's channel and the message
|
||||
# is returned to the queue (a worker that hangs while connected). Far above JOB_TIMEOUT_SECONDS.
|
||||
consumer_timeout = 300000
|
||||
|
||||
# The container has a 512 MiB limit; flow control starts well before the cgroup OOM.
|
||||
vm_memory_high_watermark.relative = 0.5
|
||||
disk_free_limit.absolute = 200MB
|
||||
|
||||
log.console = true
|
||||
log.console.level = info
|
||||
Reference in New Issue
Block a user