Skip to content

Instantly share code, notes, and snippets.

@diogoalexsmachado
Created February 20, 2024 01:49
Show Gist options
  • Save diogoalexsmachado/240b68256f8c74a70ecb95e4c3ad80ac to your computer and use it in GitHub Desktop.
Save diogoalexsmachado/240b68256f8c74a70ecb95e4c3ad80ac to your computer and use it in GitHub Desktop.
Docker Compose - Radarr + Sonarr + Bazarr + Jackett + Deluge + Plex Server
version: "3.4"
services:
deluge:
container_name: deluge
image: linuxserver/deluge:latest
restart: unless-stopped
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
network_mode: host
volumes:
- ${ROOT}/downloads:/downloads # downloads folder
- ${ROOT_CFG}/config/deluge:/config # config files
jackett:
container_name: jackett
image: linuxserver/jackett:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- /etc/localtime:/etc/localtime:ro
- ${ROOT}/downloads/torrent-blackhole:/downloads # place where to put .torrent files for manual download
- ${ROOT_CFG}/config/jackett:/config # config files
sonarr:
container_name: sonarr
image: linuxserver/sonarr:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- /etc/localtime:/etc/localtime:ro
- ${ROOT_CFG}/config/sonarr:/config # config files
- ${ROOT}/complete/tv:/tv # tv shows folder
- ${ROOT}/downloads:/downloads # download folder
radarr:
container_name: radarr
image: linuxserver/radarr:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- /etc/localtime:/etc/localtime:ro
- ${ROOT_CFG}/config/radarr:/config # config files
- ${ROOT}/complete/movies:/movies # movies folder
- ${ROOT}/downloads:/downloads # download folder
plex-server:
container_name: plex-server
image: plexinc/pms-docker:latest
restart: unless-stopped
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
- PLEX_CLAIM=claim-Hb19JTQ2mFTMej-gnQtb
network_mode: host
volumes:
- ${ROOT_CFG}/plex/db:/config # plex database
- ${ROOT_CFG}/plex/transcode:/transcode # temp transcoded files
- ${ROOT}/complete:/data # media library
bazarr:
container_name: bazarr
image: linuxserver/bazarr
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
- UMASK_SET=022 #optional
volumes:
- ${ROOT_CFG}/config/bazarr:/config # config files
- ${ROOT}/complete/movies:/movies # movies folder
- ${ROOT}/complete/tv:/tv # tv shows folder
@diogoalexsmachado
Copy link
Author

.env sample:

# Your timezone, https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=Europe/Lisbon
# UNIX PUID and PGID, find with: id $USER
PUID=1000
PGID=1000
# The directory where data and configuration will be stored.
ROOT=/your/storage/folder
ROOT_CFG=/your/config/folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment