Skip to content

Instantly share code, notes, and snippets.

@rparree
Last active March 28, 2021 08:53
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 rparree/876e50f3226f9492d252feae5d2a4a90 to your computer and use it in GitHub Desktop.
Save rparree/876e50f3226f9492d252feae5d2a4a90 to your computer and use it in GitHub Desktop.
mb docker-compose.yaml
version: "3.7"
services:
traefik:
image: "traefik:v2.1.1"
container_name: "traefik"
environment:
- TZ=Europe/Paris
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
restart: unless-stopped
ports:
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
labels:
- "com.centurylinklabs.watchtower.enable=true"
heimdall:
image: linuxserver/heimdall
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
volumes:
- ./config/heimdall:/config
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.heimdall.rule=PathPrefix(`/`)"
hydra2:
image: linuxserver/nzbhydra2
container_name: hydra2
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
volumes:
- ./config/hydra2:/config
- downloads:/downloads
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.hydra2.rule=PathPrefix(`/hydra2`)"
- "traefik.http.services.hydra2.loadbalancer.server.port=5076"
sabnzbd:
image: linuxserver/sabnzbd:unstable
container_name: sabnzbd
volumes:
- ./config/sabnzbd:/config
- downloads:/downloads
- downloads-incomplete:/incomplete-downloads
restart: unless-stopped
environment:
- PGID=1000
- PUID=1000
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.sabnzbd.rule=PathPrefix(`/sabnzbd`)"
- "traefik.http.services.sabnzbd.loadbalancer.server.port=8080"
sonarr:
image: linuxserver/sonarr:preview
container_name: sonarr
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/sonarr/:/config
- series:/tv
- downloads:/downloads
environment:
- PGID=1000
- PUID=1000
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.sonarr.rule=PathPrefix(`/sonarr`)"
- "traefik.http.services.sonarr.loadbalancer.server.port=8989"
plex:
image: linuxserver/plex
container_name: plex
volumes:
- ./config/plex:/config
- series:/data/tvshows
- movies:/data/movies
network_mode: "host"
restart: unless-stopped
environment:
- VERSION=docker
- PGID=1000
- PUID=1000
labels:
- com.centurylinklabs.watchtower.enable="true"
bazarr:
image: linuxserver/bazarr
container_name: bazarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
restart: unless-stopped
volumes:
- ./config/bazarr/:/config
- movies:/movies
- series:/tv
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.bazarr.rule=PathPrefix(`/bazarr`)"
- "traefik.http.services.bazarr.loadbalancer.server.port=6767"
radarr:
image: linuxserver/radarr:nightly
container_name: radarr
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/radarr/:/config
- movies:/movies
- downloads:/downloads
restart: unless-stopped
environment:
- PGID=1000
- PUID=1000
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.radarr.rule=PathPrefix(`/radarr`)"
- "traefik.http.services.radarr.loadbalancer.server.port=7878"
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
environment:
TZ: Europe/Paris
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_POLL_INTERVAL: "1800"
#WATCHTOWER_LABEL_ENABLE: "true"
volumes:
series:
driver_opts:
type: none
o: bind
device: /media/TOURO/media/series
movies:
driver_opts:
type: none
o: bind
device: /media/TOURO/media/movies
downloads:
driver_opts:
type: none
o: bind
device: /media/TOURO/media/downloads
downloads-incomplete:
driver_opts:
type: none
o: bind
device: /media/TOURO/media/downloads/incomplete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment