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