Skip to content

Instantly share code, notes, and snippets.

@eknofsky
Created August 27, 2022 10:28
Show Gist options
  • Save eknofsky/60c68cb013d994e4f4e411140bd3ee9c to your computer and use it in GitHub Desktop.
Save eknofsky/60c68cb013d994e4f4e411140bd3ee9c to your computer and use it in GitHub Desktop.
# VPN
# Sonarr, Radarr, Qbittorrent, Jackett (not in docker yet)
# Non-VPN
# Plex, Tdarr (Not in yet), overseerr (Not in yet)
# Before running docker-compose, you should pre-create all of the following folders.
# Folders for Docker State:
# /volume1/docker. - root where this docker-compose.yml should live
# /volume1/docker/sonarr - Sonarr config and DB
# /volume1/docker/radarr - Radarr config and DB
# /volume1/docker/qbt - QBitorrent config and DB
# /voume1/docker/ombi
# /voume1/docker/jackett
# /voume1/docker/tdarr
# /voume1/docker/overseerr
# Folders for Media etc:
# /volume1/PlexMediaServer - Root storage for video files
# /volume1/PlexMediaServer/TV - folder for Sonarr/Plex TV shows
# /volume1/PlexMediaServer/Movies - folder for Radarr/Plex Movies
# /volume1/PlexMediaServer/Downloads - QBT folder for TV downloads (that Sonarr will process)
# /volume1/PlexMediaServer/MovieDownloads - QBT folder for Movie downloads (that Radarr will process)
version: "3"
services:
expressvpn:
image: polkaned/expressvpn
container_name: expressvpn
environment:
- ACTIVATION_CODE=<REMOVED>
cap_add:
- NET_ADMIN
devices:
- "/dev/net/tun:/dev/net/tun"
privileged: true
tty: true
ports:
# QBT UI Port
- 8090:8090
# Bittorrent port
- 6882:6882
- 6882:6882/udp
# Web port
- 8080:8080
- 9117:9117
# Sonarr port
- 8989:8989
# Radarr port
- 7878:7878
command: /bin/bash
restart: unless-stopped
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1027
- PGID=100
- TZ=America/New_York
- UMASK_SET=022
- WEBUI_PORT=8090
volumes:
- /volume1/docker/qbt/config:/config
- /volume1/PlexMediaServer/Downloads/TV:/tvdownloads
- /volume1/PlexMediaServer/Downloads/Movies:/moviedownloads
- /volume1/PlexMediaServer/Downloads:/downloads
network_mode: service:expressvpn
restart: unless-stopped
depends_on:
- expressvpn
sonarr:
image: linuxserver/sonarr:latest
container_name: sonarr_v3
environment:
- PUID=1027
- PGID=100
- TZ=America/New_York
volumes:
- /etc/localtime:/etc/localtime:ro
- /volume1/docker/sonarr/config:/config
- /volume1/PlexMediaServer/TV:/tv
- /volume1/PlexMediaServer/Downloads:/downloads
restart: unless-stopped
network_mode: service:expressvpn
depends_on:
- qbittorrent
- expressvpn
radarr:
image: linuxserver/radarr:latest
container_name: radarr_v3
environment:
- PUID=1027
- PGID=100
- TZ=America/New_York
volumes:
- /etc/localtime:/etc/localtime:ro
- /volume1/docker/radarr/config:/config
- /volume1/PlexMediaServer/Movies:/movies
- /volume1/PlexMediaServer/Downloads:/downloads
restart: unless-stopped
network_mode: service:expressvpn
depends_on:
- qbittorrent
- expressvpn
plex:
container_name: plex
image: linuxserver/plex:latest
devices:
- /dev/dri:/dev/dri
privileged: true
environment:
- PUID=1027
- PGID=100
- VERSION=docker
network_mode: host
restart: unless-stopped
volumes:
- /volume1/docker/plex:/config:rw
- /volume1/PlexMediaServer/Downloads/TV:/tvdownloads:rw
- /volume1/PlexMediaServer/Downloads/Movies:/moviedownloads:rw
- /volume1/PlexMediaServer/Downloads:/downloads:rw
- /volume1/PlexMediaServer/TV:/tv:rw
- /volume1/PlexMediaServer/Movies:/movies:rw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment