Last active
April 27, 2020 15:38
-
-
Save triggity/7ba56e6535aba5b00e427be2cdf26c69 to your computer and use it in GitHub Desktop.
home lab media docker compose
This file contains hidden or 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
| # host: debian with 2 mounted volumes for TV and Movies Media. (HDD) | |
| # configuration and and config data is stored on host SSD. (/moviesmedia, /tvmedia) | |
| # on ssd: configs, downloads in progress, images | |
| # | |
| version: '3.4' | |
| services: | |
| plex: | |
| image: linuxserver/plex | |
| container_name: plex | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - VERSION=docker | |
| # - UMASK_SET=022 #optional | |
| volumes: | |
| - ./config/plex:/config | |
| - /tvmedia/media/TV:/media/tv | |
| - /moviesmedia/media/Movies:/media/movies | |
| restart: unless-stopped | |
| ports: | |
| - 32400:32400 | |
| - 32400:32400/udp | |
| - 32469:32469 | |
| - 32469:32469/udp | |
| - 53535:5353/udp | |
| - 1900:1900/udp | |
| devices: | |
| - /dev/dri:/dev/dri # intel quicksync | |
| sabnzbd: | |
| image: linuxserver/sabnzbd:latest | |
| container_name: sabnzbd | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=America/New_York | |
| volumes: | |
| - ./config/sabnzbd:/config | |
| - ./data/sabnzbd/complete:/downloads | |
| - ./data/sabnzbd/incomplete:/incomplete | |
| ports: | |
| - 8080:8080 | |
| - 9090:9090 | |
| restart: unless-stopped | |
| sonarr: | |
| container_name: sonarr | |
| image: linuxserver/sonarr:preview # v3 | |
| restart: unless-stopped | |
| links: | |
| - sabnzbd | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=America/New_York | |
| ports: | |
| - 8989:8989 | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - ./config/sonarr:/config # config files | |
| - /tvmedia/media/TV:/media/tv # tv shows folder | |
| - ./data/sabnzbd/complete:/downloads # must match downloads in sabnzbd | |
| restart: unless-stopped | |
| radarr: | |
| links: | |
| - sabnzbd | |
| image: linuxserver/radarr:preview # v3 | |
| container_name: radarr | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=America/New_York | |
| volumes: | |
| - ./config/radarr:/config # config files | |
| - /moviesmedia/media/Movies:/media/movies # Movies folder | |
| - ./data/sabnzbd/complete:/downloads # must match downloads in sabnzbd | |
| ports: | |
| - 7878:7878 | |
| restart: unless-stopped | |
| bazarr: | |
| image: linuxserver/bazarr | |
| container_name: bazarr | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=America/New_York | |
| # - UMASK_SET=022 #optional | |
| volumes: | |
| - ./config/bazarr:/config | |
| - /moviesmedia/media/Movies:/media/movies # Movies folder | |
| - /tvmedia/media/TV:/media/tv # tv shows folder | |
| ports: | |
| - 6767:6767 | |
| restart: unless-stopped | |
| links: | |
| - radarr | |
| - sonarr | |
| # ---------------------------------------- | |
| # TAUTULLI | |
| # Monitoring Service for PLEX Usage | |
| # ---------------------------------------- | |
| tautulli: | |
| image: linuxserver/tautulli | |
| container_name: tautulli | |
| restart: unless-stopped | |
| ports: | |
| - 8181:8181 | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=America/New_York | |
| volumes: | |
| - ./config/tautulli:/config # config files | |
| - ./config/tautulli/logs:/logs | |
| - '/etc/localtime:/etc/localtime:ro' | |
| depends_on: | |
| - plex | |
| labels: | |
| - 'traefik.enable=true' | |
| - 'traefik.docker.network=${STACK_NAME}_web' | |
| - 'traefik.port=8181' | |
| - 'traefik.frontend.rule=Host:plexpy.triggity.com' | |
| - 'traefik.frontend.entryPoints=https' | |
| - 'traefik.frontend.headers.forceSTSHeader=true' | |
| - 'traefik.frontend.headers.STSSeconds=315360000' | |
| - 'traefik.frontend.headers.STSIncludeSubdomains=true' | |
| - 'traefik.frontend.headers.STSPreload=true' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment