From d3930bef26ff072976e9b5fad1af23b05888a9af Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Sun, 12 Feb 2023 07:52:23 +0100 Subject: [PATCH] restart behavior --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9b109f3..3e70cbd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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