mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
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:
@@ -75,6 +75,7 @@ services:
|
|||||||
# - "15692:15692"
|
# - "15692:15692"
|
||||||
volumes:
|
volumes:
|
||||||
- rabbitmq:/var/lib/rabbitmq
|
- rabbitmq:/var/lib/rabbitmq
|
||||||
|
hostname: ${RabbitMqConfiguration__Host}
|
||||||
restart: *restart-policy
|
restart: *restart-policy
|
||||||
healthcheck: *rabbitmq-health
|
healthcheck: *rabbitmq-health
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user