Mega Media Docker Compose File

Simply copy and paste this into a new file named docker-compose.yml and place it in the directory of your choosing. This file is related to https://notposted.com

services:
  vpn:
    image: dperson/openvpn-client
    # cap_add, security_opt, and volume required for the image to function
    cap_add:
      - net_admin
    ports:
      - 6380:6380
      - 80:80
      - 443:443
      - 3579:3579     #Ombi
      - 4443:4443
      - 6881:6881     #qBittorrent
      - 6881:6881/udp #qBittorrent
      - 7878:7878     #Radarr
      - 8080:8080     #qBittorrent
      - 8181:8181     #Tautulli
      - 8686:8686     #Lidarr
      - 8787:8787     #Readarr
      - 8989:8989     #Sonarr
      - 9117:9117     #Jackett
    dns:
      - 8.8.8.8
      - 8.8.4.4
    devices:
      - '/dev/net:/dev/net:rwm'
    environment:
      TZ: 'America/New_York'
      ROUTE: '10.0.0.0/8'
    networks:
      - default

    # if using '-d' or 'DNS' you can't enable the `read_only: true` option
    read_only: true
    tmpfs:
      - /run
      - /tmp
    restart: unless-stopped
    security_opt:
      - label:disable
    stdin_open: true
    tty: true
    volumes:
      - ./vpn:/vpn
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - WEBUI_PORT=8080
    network_mode: "service:vpn"
    volumes:
      - /opt/docker/mega/qbittorrent:/config
      - /media/windowsshare/myshows:/downloads
    restart: unless-stopped
  ombi:
    image: lscr.io/linuxserver/ombi:latest
    container_name: ombi
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - BASE_URL=/ombi #optional
    network_mode: "service:vpn"
    volumes:
      - /opt/docker/mega/ombi:/config
    restart: unless-stopped
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /opt/docker/mega/radarr:/config
      - /media/windowsshare/myshows/movies:/movies #optional
      #- /path/to/downloadclient-downloads:/downloads #optional
    network_mode: "service:vpn"
    restart: unless-stopped
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /opt/docker/mega/sonarr/data:/config
      - /media/windowsshare/myshows/tvshows:/tv #optional
      #- /path/to/downloadclient-downloads:/downloads #optional
    network_mode: "service:vpn"
    restart: unless-stopped
  jackett:
    image: lscr.io/linuxserver/jackett:latest
    container_name: jackett
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - AUTO_UPDATE=true #optional
      - RUN_OPTS=<run options here> #optional
    volumes:
      - /opt/docker/mega/jackett:/config
      #- <path to blackhole>:/downloads
    network_mode: "service:vpn"
    restart: unless-stopped
  tautulli:
    image: lscr.io/linuxserver/tautulli:latest
    container_name: tautulli
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /opt/docker/mega/tautulli:/config
    network_mode: "service:vpn"
    restart: unless-stopped
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - VERSION=docker
      - PLEX_CLAIM= #optional
    volumes:
      - /opt/docker/mega/plex/library:/config
      - /media/windowsshare/myshows/tvshows:/tv
      - /media/windowsshare/myshows/movies:/movies
    restart: unless-stopped
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
    volumes:
      - /opt/docker/mega/plex/library:/config
      - /media/windowsshare/myshows/tvseries:/data/tvshows
      - /media/windowsshare/myshows/movies:/data/movies
    ports:
     - 8096:8096
     - 8920:8920 #optional
     - 7359:7359/udp #optional
     - 1900:1900/udp #optiona
    restart: unless-stopped
  lidarr:
    image: lscr.io/linuxserver/lidarr:latest
    container_name: lidarr
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /opt/docker/mega/lidarr/config:/config
      - /media/windowsshare/myshows/music:/music #optional
      #- /path/to/downloads:/downloads #optional
    network_mode: "service:vpn"
    restart: unless-stopped
  readarr:
    image: lscr.io/linuxserver/readarr:develop
    container_name: readarr
    depends_on:
      - vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /opt/docker/mega/readarr/data:/config
      - /media/windowsshare/myshows/books:/books #optional
      #- /path/to/downloadclient-downloads:/downloads #optional
    network_mode: "service:vpn"
    restart: unless-stopped
  xteve:
    image: senexcrenshaw/xteve:latest
    container_name: xteve
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /opt/docker/mega/xteve/config:/home/xteve/conf
      - /tmp/xteve:/tmp/xteve:rw
    ports:
      - 34400:34400
    restart: unless-stopped
Total 0 Votes
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?