-
-
Save vnl/c705df2127863f5e3edbfcf57fc0c3e8 to your computer and use it in GitHub Desktop.
Sample Docker-compose file which shows how to set up Sonarr, Radarr, Jackett, Lidarr, QBittorrent and a VPN container so that all all traffic from the containers is routed through the VPN. Also includes Plex and get_iplayer containers, which are not routed through the VPN.
This file contains 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: "2" | |
services: | |
expressvpn: | |
image: polkaned/expressvpn | |
container_name: expressvpn | |
environment: | |
- ACTIVATION_CODE=YOUR_CODE_HERE | |
cap_add: | |
- NET_ADMIN | |
devices: | |
- "/dev/net/tun:/dev/net/tun" | |
privileged: true | |
tty: true | |
ports: | |
- 8090:8090 | |
- 6881:6881 | |
- 6881:6881/udp | |
- 8080:8080 | |
- 9117:9117 | |
- 8989:8989 | |
- 7878:7878 | |
- 8686:8686 | |
command: /bin/bash | |
restart: unless-stopped | |
qbittorrent: | |
image: linuxserver/qbittorrent | |
container_name: qbittorrent | |
environment: | |
- PUID=1024 | |
- PGID=101 | |
- TZ=Europe/London | |
- UMASK_SET=022 | |
- WEBUI_PORT=8090 | |
volumes: | |
- /volume1/dockerdata/qbt/config:/config | |
- /volume1/video/Seeding:/downloads | |
- /volume1/video/Downloads:/tvdownloads | |
- /volume1/video/FilmDownloads:/filmdownloads | |
- /volume1/video/MusicDownloads:/musicdownloads | |
network_mode: service:expressvpn | |
restart: unless-stopped | |
jackett: | |
image: linuxserver/jackett | |
container_name: jackett | |
environment: | |
- PUID=1024 | |
- PGID=101 | |
- TZ=GB | |
volumes: | |
- /volume1/dockerdata/jackett/config:/config | |
- /volume1/video/Downloads:/downloads | |
restart: unless-stopped | |
network_mode: service:expressvpn | |
depends_on: | |
- qbittorrent | |
sonarr: | |
image: linuxserver/sonarr:preview | |
container_name: sonarr_v3 | |
environment: | |
- PUID=1024 | |
- PGID=101 | |
- TZ=GB | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /volume1/dockerdata/sonarr/config:/config | |
- /volume1/video/TV:/tv | |
- /volume1/video/Downloads:/downloads | |
restart: unless-stopped | |
network_mode: service:expressvpn | |
depends_on: | |
- jackett | |
- qbittorrent | |
radarr: | |
image: linuxserver/radarr:preview | |
container_name: radarr_v3 | |
environment: | |
- PUID=1024 | |
- PGID=101 | |
- TZ=GB | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /volume1/dockerdata/radarr3/config:/config | |
- /volume1/video/Films:/movies | |
- /volume1/video/FilmDownloads:/downloads | |
restart: unless-stopped | |
network_mode: service:expressvpn | |
depends_on: | |
- jackett | |
- qbittorrent | |
lidarr: | |
image: linuxserver/lidarr | |
container_name: lidarr | |
environment: | |
- PUID=1024 | |
- PGID=101 | |
- TZ=GB | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /volume1/dockerdata/lidarr/config:/config | |
- /volume1/music:/music | |
- /volume1/video/MusicDownloads:/downloads | |
restart: unless-stopped | |
network_mode: service:expressvpn | |
depends_on: | |
- jackett | |
- qbittorrent | |
plex: | |
container_name: plex | |
image: linuxserver/plex | |
devices: | |
- /dev/dri:/dev/dri | |
privileged: true | |
environment: | |
PGID: '101' | |
PUID: '1024' | |
VERSION: docker | |
network_mode: host | |
restart: unless-stopped | |
volumes: | |
- /volume1/dockerdata/plex:/config:rw | |
- /volume1/video/TV:/tv:rw | |
- /volume1/video/Films:/movies:rw | |
- /volume1/music:/music:rw | |
get_player: | |
container_name: get_iplayer | |
image: kolonuk/get_iplayer | |
environment: | |
PGID: '101' | |
PUID: '1024' | |
ports: | |
- 8181:8181/tcp | |
restart: unless-stopped | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /volume1/dockerdata/get_iplayer:/root/.get_iplayer:rw | |
- /volume1/video/Downloads/iPlayer:/root/output:rw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment