fix docker-compose.yml
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user