Created
October 23, 2022 12:30
-
-
Save jhx0/221812b2b3e319e8f5e05f040c192247 to your computer and use it in GitHub Desktop.
VPN/Torrent Stack
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" | |
| name: torrent-stack | |
| services: | |
| vpn: | |
| container_name: vpn | |
| image: qmcgaw/gluetun | |
| cap_add: | |
| - NET_ADMIN | |
| environment: | |
| # Set this according to your VPN provider | |
| # -> https://github.com/qdm12/gluetun/wiki | |
| - VPN_SERVICE_PROVIDER=XXX | |
| - VPN_TYPE=XXX | |
| - WIREGUARD_PRIVATE_KEY=XXX | |
| - WIREGUARD_ADDRESSES=XXX | |
| - SERVER_CITIES=XXX | |
| networks: | |
| - torrent | |
| ports: | |
| - 5080:5080 | |
| - 6881:6881 | |
| - 6881:6881/udp | |
| restart: "unless-stopped" | |
| # Default login: admin / adminadmin | |
| qbittorrent: | |
| container_name: qbittorrent | |
| image: lscr.io/linuxserver/qbittorrent:4.4.5 | |
| networks: | |
| - torrent | |
| network_mode: service:vpn | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=UTC | |
| - WEBUI_PORT=5080 | |
| volumes: | |
| - qbittorrent-config:/config | |
| - /srv/downloads:/downloads | |
| restart: "unless-stopped" | |
| volumes: | |
| qbittorrent-config: | |
| networks: | |
| torrent: | |
| external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment