diff --git a/docker-compose.yml b/docker-compose.yml index eb3a2cb..ba27303 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -87,6 +87,7 @@ services: - traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.regex=(^.*\/qbittorrent$$) - traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.replacement=$$1/ - traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.permanent=false + - com.centurylinklabs.watchtower.depends-on="/vpn" vpn: image: thrnz/docker-wireguard-pia container_name: vpn @@ -131,6 +132,8 @@ services: watchtower: image: containrrr/watchtower container_name: watchtower + environment: + - WATCHTOWER_CLEANUP=true volumes: - /var/run/docker.sock:/var/run/docker.sock