From b723b84c06d40430465b0ab26d2fa4cb1a283af2 Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Wed, 31 Aug 2022 10:33:42 -0400 Subject: [PATCH] feat: added Watchtower cleanup and qbittorrent dependency --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) 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