fix docker-compose.yml

This commit is contained in:
bryce
2024-11-16 18:25:48 +13:00
parent f6e5829e04
commit 6d8795a851

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