Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
version: "2"
services:
vpn:
image: bubuntux/nordvpn
container_name: vpn
cap_add:
- net_admin
devices:
- /dev/net/tun
environment:
- USER=<username>
- PASS=<password> # `$` should be replaced with `$$`
- COUNTRY=UK
- PROTOCOL=TCP # or UDP for faster but less stable
- CATEGORY=P2P
- NETWORK=192.168.178.0/24 # Get this value with: `ip route | awk '!/ (docker0|br-)/ && /src/ {print $1}'`
- TZ=Europe/London
ports:
- 8112:8112 # deluge
- 9117:9117 # jackett
- 7878:7878 # radarr
- 8989:8989 # sonarr
- 8080:8080 # sabnzbd
- 9090:9090 # sabnzbd
restart: unless-stopped
deluge:
image: linuxserver/deluge
container_name: deluge
network_mode: service:vpn
environment:
- PUID=1002 # Get this value with `id username`
- PGID=1002 # Get this value with `id username`
- TZ=Europe/London
volumes:
- /var/docker/delugeconfig:/config
- <download dir>:/downloads
restart: unless-stopped
jackett:
image: linuxserver/jackett
container_name: jackett
network_mode: service:vpn
environment:
- PUID=1002 # Get this value with `id username`
- PGID=1002 # Get this value with `id username`
- TZ=Europe/London
volumes:
- /var/docker/jackettconfig/:/config
- <download dir>/blackhole/:/downloads
restart: unless-stopped
radarr:
image: linuxserver/radarr
container_name: radarr
network_mode: service:vpn
environment:
- PUID=1002 # Get this value with `id username`
- PGID=1002 # Get this value with `id username`
- TZ=Europe/London
volumes:
- /var/docker/radarrconfig/:/config
- <download dir>/movies/:/movies
- <download dir>/completed/:/downloads
restart: unless-stopped
sonarr:
image: linuxserver/sonarr
container_name: sonarr
network_mode: service:vpn
environment:
- PUID=1002 # Get this value with `id username`
- PGID=1002 # Get this value with `id username`
- TZ=Europe/London
volumes:
- /var/docker/sonarrconfig/:/config
- <download dir>/tv/:/tv
- <download dir>/completed/:/downloads
restart: unless-stopped
sabnzbd:
image: linuxserver/sabnzbd
container_name: sabnzbd
network_mode: service:vpn
environment:
- PUID=1002 # Get this value with `id username`
- PGID=1002 # Get this value with `id username`
- TZ=Europe/London
volumes:
- /var/docker/sabnzbconfig/:/config
- <download dir>/completed/:/downloads
- <download dir>/incomplete-downloads/:/incomplete-downloads
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment