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
      - 8191:8191     #flaresolverr
      - 8686:8686     #Lidarr
      - 8787:8787     #Readarr
      - 8989:8989     #Sonarr
      - 9117:9117     #Jackett
      - 4533:4533     #Navidrome
    dns:
      - 1.1.1.1
      - 1.0.0.1
    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
  navidrome:
    image: navidrom-mpv
    build:
      dockerfile: /opt/docker/mega/navidrome/Dockerfile.navidrome
    container_name: navidrome
    user: 1000:1000 # should be owner of volumes
    ports:
      - "4533:4533"
    restart: unless-stopped
    environment:
      # Optional: put your config options customization here. Examples:
      ND_SCANSCHEDULE: 1h
      ND_LOGLEVEL: info
      ND_SESSIONTIMEOUT: 24h
      ND_BASEURL: ""
      ND_ENABLESHARING: true
      ND_JUKEBOX_ENABLED: true
      ND_ENABLETRANSCODINGCONFIG: true
    volumes:
      - "/opt/docker/mega/navidrome/data:/data"
      - "/mnt/windowsshare/Music:/music:ro"
    group_add:
      - "29" # audio group ID (gid)
    devices:
      - "/dev/snd:/dev/snd"
  flaresolverr:
    # DockerHub mirror flaresolverr/flaresolverr:latest
    image: ghcr.io/flaresolverr/flaresolverr:latest
    container_name: flaresolverr
    environment:
      - LOG_LEVEL=${LOG_LEVEL:-info}
      - LOG_HTML=${LOG_HTML:-false}
      - CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none}
      - TZ:America/New_York
    depends_on:
      - vpn
    restart: unless-stopped    
  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/jellyfin/library:/config
      - /media/windowsshare/myshows/tvseries:/tvshows
      - /media/windowsshare/myshows/movies:/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
  threadfin:
    image: fyb3roptik/threadfin:latest
    container_name: threadfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/NewYork
    volumes:
      - /opt/docker/mega/threadfin/conf:/home/threadfin/conf
      - /opt/docker/mega/threadfin:/tmp/xteve:rw
    ports:
      - 34401:34400
    restart: unless-stopped
    
Total 0 Votes
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?