add hostnames to rabbitmq services

This commit is contained in:
Yamila Moreno 2023-03-06 10:35:07 +01:00
parent 6fc31546cf
commit e4b6d62930
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
- New .env based configuration docker
- Control services startup based on healthchecks
- Thanks to @tibroc for adding hostnames to rabbitmq services
## 6.5.0 (2022-01-24)

View File

@ -87,6 +87,7 @@ services:
RABBITMQ_DEFAULT_USER: "${RABBITMQ_USER}"
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASS}"
RABBITMQ_DEFAULT_VHOST: "${RABBITMQ_VHOST}"
hostname: "taiga-async-rabbitmq"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 2s
@ -128,6 +129,7 @@ services:
RABBITMQ_DEFAULT_USER: "${RABBITMQ_USER}"
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASS}"
RABBITMQ_DEFAULT_VHOST: "${RABBITMQ_VHOST}"
hostname: "taiga-events-rabbitmq"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 2s