Add hostname to rabbit mq container

RabbitMQ needs a persistent hostname per https://github.com/docker-library/rabbitmq/issues/392 otherwise it starts with a random one, losing data
This commit is contained in:
funkecoder23
2024-02-05 18:32:33 -05:00
parent 2ece56d7e1
commit 0b8e03e1d8

View File

@@ -75,6 +75,7 @@ services:
# - "15692:15692"
volumes:
- rabbitmq:/var/lib/rabbitmq
hostname: ${RabbitMqConfiguration__Host}
restart: *restart-policy
healthcheck: *rabbitmq-health
networks: