feat: added Watchtower cleanup and qbittorrent dependency

This commit is contained in:
Adrien Poupa 2022-08-31 10:33:42 -04:00 committed by GitHub
parent 2834d0a4b5
commit b723b84c06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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