Created
January 16, 2025 19:04
-
-
Save Amoenus/e2de08b34edcebce985adcb3df64f257 to your computer and use it in GitHub Desktop.
qbittorrent + gluetun
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
gluetun: | |
container_name: gluetun | |
image: qmcgaw/gluetun:latest | |
cap_add: | |
- NET_ADMIN | |
environment: | |
- VPN_SERVICE_PROVIDER=protonvpn | |
- OPENVPN_USER=useYourOwn | |
- OPENVPN_PASSWORD=useYourOwn | |
- PROTOCOL=tcp | |
- OPENVPN_MSSFIX=1460 | |
- OPENVPN_VERSION=2.6 | |
ports: | |
- 8080:8080 | |
- 8888:6881 | |
- 8888:6881/udp | |
restart: always | |
qbittorrent: | |
image: lscr.io/linuxserver/qbittorrent:latest | |
container_name: qbittorrent | |
depends_on: | |
gluetun: | |
condition: service_healthy | |
environment: | |
- PUID=1026 | |
- PGID=100 | |
- TZ=useYourOwn | |
- WEBUI_PORT=8080 | |
healthcheck: | |
test: ["CMD-SHELL", "curl -f https://useYourOwn.com/ || exit 1"] | |
interval: 60s | |
timeout: 20s | |
retries: 5 | |
volumes: | |
- /useYourOwn/docker/qbittorrent/config:/config | |
- /useYourOwn:/downloads | |
network_mode: service:gluetun | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment