Skip to content

Instantly share code, notes, and snippets.

@gwynp
Last active October 24, 2022 09:15
Show Gist options
  • Save gwynp/ff800d59d4b890bd789f72cd4113712a to your computer and use it in GitHub Desktop.
Save gwynp/ff800d59d4b890bd789f72cd4113712a to your computer and use it in GitHub Desktop.

Revisions

  1. gwynp revised this gist Aug 25, 2017. 1 changed file with 10 additions and 8 deletions.
    18 changes: 10 additions & 8 deletions home-media-docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -8,14 +8,14 @@ services:
    image: linuxserver/sabnzbd
    container_name: sabnzbd
    # keeps servers up and running and starts on boot
    restart: always
    #restart: always
    ports:
    - "8080:8080"
    - "9090:9090"
    # set user id and group id to avoid permission issues with folders and files
    volumes:
    - $HOME/docker/sabnzbd:/config
    - $HOME/docker/sabnzbd:/downloads
    - '$HOME/docker/sabnzbd:/config'
    - '$HOME/docker/downloads:/data/downloads'
    sonarr:
    environment:
    - PGID=1000
    @@ -24,6 +24,7 @@ services:
    container_name: sonarr
    volumes:
    - '$HOME/docker/sonarr:/config'
    - '$HOME/docker/downloads:/data/downloads'
    - '/mnt/drobo/TV:/data/tv'
    ports:
    - "8989:8989"
    @@ -39,7 +40,7 @@ services:
    network_mode: "host"
    ports:
    - '32400:32400'
    restart: always
    #restart: always
    volumes:
    - '/mnt/drobo/TV:/data/tv'
    - '/mnt/drobo/movies:/data/movies'
    @@ -50,7 +51,7 @@ services:
    - PGID=1000
    - PUID=1000
    image: 'linuxserver/plexpy:latest'
    restart: always
    #restart: always
    volumes:
    - '$HOME/docker/plexpy:/config'
    - '$HOME/docker/plex/Library/Application Support/Plex Media Server/Logs:/logs:ro'
    @@ -63,7 +64,7 @@ services:
    - 3000:3000
    volumes:
    - $HOME/docker/dashboard:/config
    restart: always
    #restart: always
    environment:
    - VIRTUAL_HOST=dashboard.htpc
    - PGID=1000
    @@ -74,9 +75,10 @@ services:
    - PUID=1000
    image: 'linuxserver/radarr:latest'
    container_name: radarr
    restart: always
    #restart: always
    volumes:
    - '$HOME/docker/radarr:/config'
    - '/mnt/drobo/movies:/data/movies'
    - '$HOME/docker/downloads:/data/downloads'
    ports:
    - "7878:7878"
    - "7878:7878"
  2. gwynp renamed this gist Aug 9, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. gwynp created this gist Aug 9, 2017.
    82 changes: 82 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,82 @@
    version: "2"

    services:
    sabnzbd:
    environment:
    - PGID=1000
    - PUID=1000
    image: linuxserver/sabnzbd
    container_name: sabnzbd
    # keeps servers up and running and starts on boot
    restart: always
    ports:
    - "8080:8080"
    - "9090:9090"
    # set user id and group id to avoid permission issues with folders and files
    volumes:
    - $HOME/docker/sabnzbd:/config
    - $HOME/docker/sabnzbd:/downloads
    sonarr:
    environment:
    - PGID=1000
    - PUID=1000
    image: 'linuxserver/sonarr:latest'
    container_name: sonarr
    volumes:
    - '$HOME/docker/sonarr:/config'
    - '/mnt/drobo/TV:/data/tv'
    ports:
    - "8989:8989"
    plex:
    environment:
    - VIRTUAL_PORT=32400
    - VIRTUAL_HOST=plex.htpc
    - PGID=1000
    - PUID=1000
    - VERSION=public
    image: 'linuxserver/plex'
    container_name: plex
    network_mode: "host"
    ports:
    - '32400:32400'
    restart: always
    volumes:
    - '/mnt/drobo/TV:/data/tv'
    - '/mnt/drobo/movies:/data/movies'
    - '$HOME/docker/plex:/config'
    - '/dev/shm:/dev/shm'
    plexpy:
    environment:
    - PGID=1000
    - PUID=1000
    image: 'linuxserver/plexpy:latest'
    restart: always
    volumes:
    - '$HOME/docker/plexpy:/config'
    - '$HOME/docker/plex/Library/Application Support/Plex Media Server/Logs:/logs:ro'
    ports:
    - "8181:8181"
    dashboard:
    image: chimpchimp/manage-this-node
    container_name: dashboard
    ports:
    - 3000:3000
    volumes:
    - $HOME/docker/dashboard:/config
    restart: always
    environment:
    - VIRTUAL_HOST=dashboard.htpc
    - PGID=1000
    - PUID=1000
    radarr:
    environment:
    - PGID=1000
    - PUID=1000
    image: 'linuxserver/radarr:latest'
    container_name: radarr
    restart: always
    volumes:
    - '$HOME/docker/radarr:/config'
    - '/mnt/drobo/movies:/data/movies'
    ports:
    - "7878:7878"