Make RabbitMQ container fd limit better-suited for demos
1k feels right for a demo environment, where we want to simulate hitting threshold limits.
This commit is contained in:
parent
ffa977f8f3
commit
9f8852b0c1
|
|
@ -24,6 +24,11 @@ services:
|
||||||
RABBITMQ_ERLANG_COOKIE: rabbitmq-prometheus
|
RABBITMQ_ERLANG_COOKIE: rabbitmq-prometheus
|
||||||
volumes:
|
volumes:
|
||||||
- ./rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
|
- ./rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
|
||||||
|
# we want to simulate hitting thresholds
|
||||||
|
ulimits:
|
||||||
|
nofile:
|
||||||
|
soft: "1024"
|
||||||
|
hard: "2048"
|
||||||
rabbitmq2:
|
rabbitmq2:
|
||||||
<< : *rabbitmq
|
<< : *rabbitmq
|
||||||
hostname: rabbitmq2
|
hostname: rabbitmq2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue