User Tools

Site Tools


docker:docker_compose:media_server

Docker - Docker Compose - Media Server

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
docker/docker_compose/media_server.txt · Last modified: 2021/01/23 12:00 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki