restart behavior

This commit is contained in:
Niko Abeler 2023-02-12 07:52:23 +01:00
parent 15af5bc2e8
commit d3930bef26
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ services:
- ./rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
- ./rabbitmq/definitions.json:/etc/rabbitmq/definitions.json:ro
- ./rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins:rw
restart: always
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 3s
@ -29,6 +30,7 @@ services:
- ./tokens:/tokens:rw
env_file:
- .env
restart: always
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=admin
@ -41,6 +43,7 @@ services:
- ./tokens:/tokens:ro
env_file:
- .env
restart: always
environment:
- INFLUX_URL=http://influx:8086
- INFLUX_ORG=home