feat: #20 Add willfarrell/autoheal to restart unhealthy containers

This commit is contained in:
Adrien Poupa
2023-10-08 18:50:10 -04:00
parent e11acd178a
commit 911774e76e
2 changed files with 9 additions and 0 deletions

View File

@@ -371,6 +371,14 @@ services:
- WATCHTOWER_CLEANUP=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
autoheal:
image: willfarrell/autoheal:latest
container_name: autoheal
restart: always
environment:
- AUTOHEAL_CONTAINER_LABEL=all
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
default: