User Tools

Site Tools


docker:media_server

This is an old revision of the document!


Docker - Media Server

Docker-Compose Config Files

docker/mediaserver/docker-compose.yaml
version: '3.4'
services:
  sonarr:
    image: linuxserver/sonarr:preview
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
#      - UMASK_SET=022 #optional
    volumes:
      # In order to the container uses the same date which is in the host, it is necessary to share /etc/localtime file
#      - /etc/localtime:/etc/localtime:ro
#      - /dev/rtc:/dev/rtc:ro
      - ./sonarr/config:/config:rw
      - /home/peter/Documents/nas_tv_shows/:/tv:rw
      - ./:/downloads:rw
      #- ./downloads/:/downloads:rw
      #- ./transmission/downloads:/downloads:rw
      #- ./downloads/complete:/downloads:rw
    networks:
      default:
        ipv4_address: 172.19.0.30
    ports:
      - 8989:8989
    restart: unless-stopped
 
 
  jackett:
    image: linuxserver/jackett:latest
#    image: binhex/arch-jackett
    container_name: jackett
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
#      - RUN_OPTS=run options here #optional
    volumes:
      - ./jackett/config:/config
      - ./jackett/blackhole:/downloads
    networks:
      default:
        ipv4_address: 172.19.0.31
    ports:
      - 9117:9117
#    restart: unless-stopped
    restart: always
 
 
#  transmission:
#    image: linuxserver/transmission
#    container_name: transmission
#    environment:
#      - PUID=1000
#      - PGID=1000
#      - TZ=Europe/London
##      - TRANSMISSION_WEB_HOME=/combustion-release/ #optional
#    volumes:
#      - ./transmission/config:/config
#      - ./downloads:/downloads
#      - ./transmission/watch:/watch
#    networks:
#      default:
#        ipv4_address: 172.19.0.32
#    ports:
#      - 9091:9091
#      - 51413:51413
#      - 51413:51413/udp
#    restart: unless-stopped
 
  transmission:
    image: dperson/transmission
    container_name: transmission
    environment:
#      - PUID=1000
#      - PGID=1000
      - TZ=Europe/London
      - USERID=1000
      - GROUPID=1000
    volumes:
      # In order to the container uses the same date which is in the host, it is necessary to share /etc/localtime file
      - /etc/localtime:/etc/localtime:ro
      - ./transmission:/var/lib/transmission-daemon:rw
      #- ./downloads:/var/lib/transmission-daemon:rw
    networks:
      default:
        ipv4_address: 172.19.0.32
    ports:
      - 9091:9091
    restart: unless-stopped
 
 
  nzbget:
    #image: linuxserver/nzbget:latest
    image: linuxserver/nzbget
    container_name: nzbget
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - ./nzbget/config:/config
      - ./nzbget/downloads:/downloads
#      - ./transmission/downloads:/downloads:rw
      #- ./downloads:/downloads:rw
#      - ./downloads:/downloads:rw
    networks:
      default:
        ipv4_address: 172.19.0.37
    ports:
      - 6789:6789
    restart: unless-stopped
 
 
  sabnzbd:
    image: linuxserver/sabnzbd
    container_name: sabnzbd
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - ./sabnzbd/config:/config
#      - ./sabnzbd:/downloads
      - ./sabnzbd/config/Downloads/complete:/downloads
#      - ./sabnzbd/downloads:/downloads
#      - ./downloads:/downloads
#      - ./sabnzbd/incomplete-downloads:/incomplete-downloads #optional
      - ./sabnzbd/config/Downloads/incomplete:/incomplete-downloads #optional
    networks:
      default:
        ipv4_address: 172.19.0.38
    ports:
      - 8080:8080
      - 9090:9090
    restart: unless-stopped
 
 
networks:
  default:
    driver: bridge
    ipam:
      config:
        - subnet: 172.19.0.0/24

Directory Structure

/home/peter/docker/mediaserver/
 
/home/peter/docker/mediaserver/jackett/
/home/peter/docker/mediaserver/jackett/blackhole
/home/peter/docker/mediaserver/jackett/config
/home/peter/docker/mediaserver/jackett/config/Jackett
/home/peter/docker/mediaserver/jackett/config/Jackett/DataProtection
/home/peter/docker/mediaserver/jackett/config/Jackett/Indexers
 
/home/peter/docker/mediaserver/nzbget
/home/peter/docker/mediaserver/nzbget/config
/home/peter/docker/mediaserver/nzbget/downloads
/home/peter/docker/mediaserver/nzbget/downloads/completed
/home/peter/docker/mediaserver/nzbget/downloads/intermediate
/home/peter/docker/mediaserver/nzbget/downloads/nzb
/home/peter/docker/mediaserver/nzbget/downloads/queue
/home/peter/docker/mediaserver/nzbget/downloads/tmp
 
/home/peter/docker/mediaserver/sabnzbd
/home/peter/docker/mediaserver/sabnzbd/config
/home/peter/docker/mediaserver/sabnzbd/config/admin
/home/peter/docker/mediaserver/sabnzbd/config/Downloads
/home/peter/docker/mediaserver/sabnzbd/config/Downloads/complete
/home/peter/docker/mediaserver/sabnzbd/config/Downloads/incomplete
/home/peter/docker/mediaserver/sabnzbd/config/logs
 
/home/peter/docker/mediaserver/sonarr
/home/peter/docker/mediaserver/sonarr/config
/home/peter/docker/mediaserver/sonarr/config/Backups
/home/peter/docker/mediaserver/sonarr/config/Backups/scheduled
/home/peter/docker/mediaserver/sonarr/config/.config
/home/peter/docker/mediaserver/sonarr/config/logs
/home/peter/docker/mediaserver/sonarr/config/MediaCover
 
/home/peter/docker/mediaserver/transmission
/home/peter/docker/mediaserver/transmission/downloads
/home/peter/docker/mediaserver/transmission/incomplete
/home/peter/docker/mediaserver/transmission/info
/home/peter/docker/mediaserver/transmission/info/blocklists
/home/peter/docker/mediaserver/transmission/info/resume
/home/peter/docker/mediaserver/transmission/info/torrents

Configure Jackett

Enter http://172.19.0.31:9117/ into a browser.

Click on the Add Indexer button at the top.

This will display a list of Indexers that are available.

Click on the green plus sign against an indexer you want to add.

NOTE: Some indexers do not have a green plus sign as they are private indexers.

These require a subscription to the server in order to use these.

To find out where to go to register for a subscription; or if you already have a username and password you can click on the blue setup icon.


Configure Sonarrr

Enter http://172.19.0.30:8989 into a browser.

docker/media_server.1587302096.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki