Fix Whatchtower provision in yml

This commit is contained in:
bryce
2024-11-16 03:15:20 +13:00
parent bb67b3eb27
commit f6e5829e04

View File

@@ -11,11 +11,11 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway" # Enables access to the host's MariaDB instance
watchtower:
image: v2tec/watchtower
container_name: watchtower
environment:
- WATCHTOWER_TRACE=true # Optional for debug output
volumes:
- /var/run/docker.sock:/var/run/docker.sock # This allows Watchtower to interact with Docker
restart: always # Ensures Watchtower restarts if it stops
watchtower:
image: v2tec/watchtower
container_name: watchtower
environment:
- WATCHTOWER_TRACE=true # Optional for debug output
volumes:
- /var/run/docker.sock:/var/run/docker.sock # This allows Watchtower to interact with Docker
restart: always # Ensures Watchtower restarts if it stops