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