Update docs/tech_docs/vpn-torrent.md
This commit is contained in:
@@ -25,96 +25,94 @@ docker-compose up -d
|
|||||||
|
|
||||||
This command will start all services in the background. You can then access the web interfaces of qBittorrent, Jackett, Sonarr, and Prowlarr through the respective ports you've configured.
|
This command will start all services in the background. You can then access the web interfaces of qBittorrent, Jackett, Sonarr, and Prowlarr through the respective ports you've configured.
|
||||||
|
|
||||||
|
```yaml
|
||||||
---
|
---
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
gluetun:
|
gluetun:
|
||||||
image: qmcgaw/gluetun
|
image: qmcgaw/gluetun
|
||||||
container_name: gluetun
|
container_name: gluetun
|
||||||
# line above must be uncommented to allow external containers to connect.
|
# line above must be uncommented to allow external containers to connect.
|
||||||
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
|
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /dev/net/tun:/dev/net/tun
|
||||||
ports:
|
ports:
|
||||||
- 6881:6881
|
- 6881:6881
|
||||||
- 6881:6881/udp
|
- 6881:6881/udp
|
||||||
- 8085:8085 # qbittorrent
|
- 8085:8085 # qbittorrent
|
||||||
- 9117:9117 # Jackett
|
- 9117:9117 # Jackett
|
||||||
- 8989:8989 # Sonarr
|
- 8989:8989 # Sonarr
|
||||||
- 9696:9696 # Prowlarr
|
- 9696:9696 # Prowlarr
|
||||||
volumes:
|
volumes:
|
||||||
- /home/ubuntu/docker/arr-stack:/gluetun
|
- /home/ubuntu/docker/arr-stack:/gluetun
|
||||||
environment:
|
environment:
|
||||||
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
|
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
|
||||||
- VPN_SERVICE_PROVIDER=nordvpn
|
- VPN_SERVICE_PROVIDER=nordvpn
|
||||||
- VPN_TYPE=wireguard
|
- VPN_TYPE=wireguard
|
||||||
# OpenVPN:
|
# OpenVPN:
|
||||||
# - OPENVPN_USER=
|
# - OPENVPN_USER=
|
||||||
# - OPENVPN_PASSWORD=
|
# - OPENVPN_PASSWORD=
|
||||||
# Wireguard:
|
# Wireguard:
|
||||||
- WIREGUARD_PRIVATE_KEY=<YOUR_PRIVATE_KEY> # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/nordvpn.md#obtain-your-wireguard-private-key
|
- WIREGUARD_PRIVATE_KEY=<YOUR_PRIVATE_KEY> # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/nordvpn.md#obtain-your-wireguard-private-key
|
||||||
- WIREGUARD_ADDRESSES=10.5.0.2/32
|
- WIREGUARD_ADDRESSES=10.5.0.2/32
|
||||||
# Timezone for accurate log times
|
# Timezone for accurate log times
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
# Server list updater
|
# Server list updater
|
||||||
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
|
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
|
||||||
- UPDATER_PERIOD=24h
|
- UPDATER_PERIOD=24h
|
||||||
|
qbittorrent:
|
||||||
qbittorrent:
|
image: lscr.io/linuxserver/qbittorrent
|
||||||
image: lscr.io/linuxserver/qbittorrent
|
container_name: qbittorrent
|
||||||
container_name: qbittorrent
|
network_mode: "service:gluetun"
|
||||||
network_mode: "service:gluetun"
|
environment:
|
||||||
environment:
|
- PUID=1000
|
||||||
- PUID=1000
|
- PGID=1000
|
||||||
- PGID=1000
|
- TZ=Europe/London
|
||||||
- TZ=Europe/London
|
- WEBUI_PORT=8085
|
||||||
- WEBUI_PORT=8085
|
volumes:
|
||||||
volumes:
|
- /home/ubuntu/docker/arr-stack/qbittorrent:/config
|
||||||
- /home/ubuntu/docker/arr-stack/qbittorrent:/config
|
- /home/ubuntu/docker/arr-stack/qbittorrent/downloads:/downloads
|
||||||
- /home/ubuntu/docker/arr-stack/qbittorrent/downloads:/downloads
|
depends_on:
|
||||||
depends_on:
|
- gluetun
|
||||||
- gluetun
|
restart: always
|
||||||
restart: always
|
jackett:
|
||||||
|
image: lscr.io/linuxserver/jackett:latest
|
||||||
jackett:
|
container_name: jackett
|
||||||
image: lscr.io/linuxserver/jackett:latest
|
network_mode: "service:gluetun"
|
||||||
container_name: jackett
|
environment:
|
||||||
network_mode: "service:gluetun"
|
- PUID=1000
|
||||||
environment:
|
- PGID=1000
|
||||||
- PUID=1000
|
- TZ=Etc/UTC
|
||||||
- PGID=1000
|
- AUTO_UPDATE=true #optional
|
||||||
- TZ=Etc/UTC
|
- RUN_OPTS= #optional
|
||||||
- AUTO_UPDATE=true #optional
|
volumes:
|
||||||
- RUN_OPTS= #optional
|
- /home/ubuntu/docker/arr-stack/jackett/data:/config
|
||||||
volumes:
|
- /home/ubuntu/docker/arr-stack/jackett/blackhole:/downloads
|
||||||
- /home/ubuntu/docker/arr-stack/jackett/data:/config
|
restart: unless-stopped
|
||||||
- /home/ubuntu/docker/arr-stack/jackett/blackhole:/downloads
|
sonarr:
|
||||||
restart: unless-stopped
|
image: lscr.io/linuxserver/sonarr:latest
|
||||||
|
container_name: sonarr
|
||||||
sonarr:
|
network_mode: "service:gluetun"
|
||||||
image: lscr.io/linuxserver/sonarr:latest
|
environment:
|
||||||
container_name: sonarr
|
- PUID=1000
|
||||||
network_mode: "service:gluetun"
|
- PGID=1000
|
||||||
environment:
|
- TZ=Etc/UTC
|
||||||
- PUID=1000
|
volumes:
|
||||||
- PGID=1000
|
- /home/ubuntu/docker/arr-stack/sonarr/data:/config
|
||||||
- TZ=Etc/UTC
|
- /home/ubuntu/docker/arr-stack/sonarr/tvseries:/tv #optional
|
||||||
volumes:
|
- /home/ubuntu/docker/arr-stack/sonarr/downloadclient-downloads:/downloads #optional
|
||||||
- /home/ubuntu/docker/arr-stack/sonarr/data:/config
|
restart: unless-stopped
|
||||||
- /home/ubuntu/docker/arr-stack/sonarr/tvseries:/tv #optional
|
prowlarr:
|
||||||
- /home/ubuntu/docker/arr-stack/sonarr/downloadclient-downloads:/downloads #optional
|
image: lscr.io/linuxserver/prowlarr:latest
|
||||||
restart: unless-stopped
|
container_name: prowlarr
|
||||||
|
network_mode: "service:gluetun"
|
||||||
prowlarr:
|
environment:
|
||||||
image: lscr.io/linuxserver/prowlarr:latest
|
- PUID=1000
|
||||||
container_name: prowlarr
|
- PGID=1000
|
||||||
network_mode: "service:gluetun"
|
- TZ=Etc/UTC
|
||||||
environment:
|
volumes:
|
||||||
- PUID=1000
|
- /home/ubuntu/docker/arr-stack/prowlarr/data:/config
|
||||||
- PGID=1000
|
restart: unless-stopped
|
||||||
- TZ=Etc/UTC
|
```
|
||||||
volumes:
|
|
||||||
- /home/ubuntu/docker/arr-stack/prowlarr/data:/config
|
|
||||||
restart: unless-stopped
|
|
||||||
Reference in New Issue
Block a user