Skip to content

Instantly share code, notes, and snippets.

@killow84
Forked from spikegrobstein/docker-compose.yml
Created January 4, 2023 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killow84/f3f7254b0dec1c117db72a5e68c4c44f to your computer and use it in GitHub Desktop.
Save killow84/f3f7254b0dec1c117db72a5e68c4c44f to your computer and use it in GitHub Desktop.
docker-compose file for sabnzbd/sonarr/radarr
# start up with 'docker-compose up -d' to start in background
# update images with 'docker-compose pull'
# this assumes that you have a sibling directory to this file called 'config' that contains all of the config for these services
# you can reference 'sabnzbd' 'radarr' or 'sonarr' from inside the containers (in the apps) to reference the other containers. no need to deal with IPs or hostnames
# remember that docker is isolated from the rest of your filesystem. you need to add volumes to the entries
# in order to give the processes access to them. so if you have multiple target directories for TV or Movies,
# then make sure you add each one that you want radarr/sonarr/sabnzbd to see.
version: '3'
services:
sabnzbd:
image: linuxserver/sabnzbd
ports:
- "8080:8080" # port mapping
volumes:
- "./config/sabnzbd:/config" # sab config directory
- "/storage/Downloads/complete:/downloads" # completed directory for downloads. this contains the category directories
- "/downloads/incomplete:/incomplete-downloads" # "temp" directory for downloads
environment:
TZ: UTC
PUID: 501 # set to UID of your user
PGID: 501 # set to GID of your user
radarr:
image: linuxserver/radarr
ports:
- "7878:7878" # port mapping
volumes:
- "./config/radarr:/config" # config directory for radarr
- "/storage/Downloads/complete:/downloads" # completed downloads directory from sab
- "/storage/Movies:/storage/Movies" # where radarr will copy your movies. add as many of these as you need
environment:
TZ: UTC
PUID: 501 # set this to the UID of your user
PGID: 501 # set this to the GID of your user
sonarr:
image: linuxserver/sonarr
ports:
- "8989:8989" # port mapping
volumes:
- "./config/sonarr:/config" # sonarr config dir
- "/storage/Downloads/complete:/downloads" # your completed downloads directory from sab
- "/storage/TV:/storage/TV" # where it will copy your files when done. add as many of these as you need
environment:
TZ: UTC
PUID: 501 # set this to the UID of your user
PGID: 501 # set this to the GID of your user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment