Add restart policy to watchtower

This commit is contained in:
Isaac Shoebottom 2024-05-31 21:04:08 -03:00
parent 60d0555d8b
commit f55559a499

View File

@ -2,6 +2,7 @@ version: "3"
services: services:
watchtower: watchtower:
container_name: watchtower container_name: watchtower
restart: unless-stopped
image: containrrr/watchtower image: containrrr/watchtower
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock