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:
Gerhard Lazu 2019-04-23 13:52:35 +01:00
parent ffa977f8f3
commit 9f8852b0c1
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ services:
RABBITMQ_ERLANG_COOKIE: rabbitmq-prometheus
volumes:
- ./rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
# we want to simulate hitting thresholds
ulimits:
nofile:
soft: "1024"
hard: "2048"
rabbitmq2:
<< : *rabbitmq
hostname: rabbitmq2