add stack node/autoheal

This commit is contained in:
Yann Autissier
2022-11-16 13:36:09 +00:00
parent 23cd8f2779
commit b2c389141d
3 changed files with 12 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
version: '3.6'
services:
autoheal:
container_name: ${NODE_COMPOSE_PROJECT_NAME}-autoheal
image: willfarrell/autoheal:latest
environment:
- AUTOHEAL_CONTAINER_LABEL=all
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
-1
View File
@@ -35,7 +35,6 @@ services:
- SERVICE_8500_TAGS=${NODE_CONSUL_SERVICE_8500_TAGS}
- SERVICE_8600_IGNORE=true
- SERVICE_ADDRESS=${DOCKER_HOST_INET4}
- SERVICE_CHECK_SCRIPT=docker-healthcheck ${DOCKER_HOST_INET4}
network_mode: host
restart: always
volumes: