restart behavior
This commit is contained in:
parent
15af5bc2e8
commit
d3930bef26
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue