Guest User

sonarr-radarr-jackett-openvpn-nginx

a guest
May 28th, 2022
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.68 KB | None | 0 0
  1. version: '3.4'
  2. services:
  3.   sonarr:
  4.     image: lscr.io/linuxserver/sonarr:latest
  5.     container_name: sonarr
  6.     depends_on:
  7.      - vpn
  8.     environment:
  9.      - PUID=1000
  10.       - PGID=100
  11.     network_mode: "service:vpn"
  12.     volumes:
  13.      - hdd1/appdata/sonarr:/config
  14.       - hdd1/media/tv-shows:/tv-shows
  15.     ports:
  16.      - 8989:8989
  17.     restart: unless-stopped
  18.  
  19.   radarr:
  20.     image: lscr.io/linuxserver/radarr:latest
  21.     container_name: radarr
  22.     depends_on:
  23.      - vpn
  24.     environment:
  25.      - PUID=1000
  26.       - PGID=100
  27.     network_mode: "service:vpn"
  28.     volumes:
  29.      - hdd1/appdata/radarr:/config
  30.       - hdd1/media/movies:/movies
  31.     ports:
  32.      - 7878:7878
  33.     restart: unless-stopped
  34.  
  35.  
  36.   jackett:
  37.     image: lscr.io/linuxserver/jackett:latest
  38.     container_name: jackett
  39.     depends_on:
  40.      - vpn
  41.     network_mode: "service:vpn"
  42. #   environment:
  43. #  - RUN_OPTS=--ProxyConnection=torproxy:8118
  44.     volumes:
  45.      - hdd1/appdata/jackett:/config
  46.     ports:
  47.      - 9117:9117
  48.     restart: unless-stopped
  49.  
  50.  
  51.   jellyfin:
  52.     image: ghcr.io/linuxserver/jellyfin:latest
  53.     container_name: jellyfin
  54.     environment:
  55.      - PUID=1000
  56.       - PGID=100
  57.       - TZ=Europe/London
  58.     volumes:
  59.      - hdd1/appdata/jellyfin:/config
  60.       - hdd1/media/movies:/movies
  61.     ports:
  62.      - 8096:8096
  63.       - 7359:7359/udp
  64.       - 1900:1900/udp
  65.     restart: unless-stopped
  66.  
  67.   deluge:
  68.     image: lscr.io/linuxserver/deluge:latest
  69.     container_name: deluge
  70.     environment:
  71.      - PUID=1000
  72.       - PGID=100
  73.       - TZ=Europe/London
  74.       - DELUGE_LOGLEVEL=error #optional
  75.     volumes:
  76.      - hdd1/appdata/deluge:/config
  77.       - hdd1/downloads:/downloads
  78.     ports:
  79.      - 8112:8112
  80.       - 6884:6884
  81.       - 6884:6884/udp
  82.     restart: unless-stopped
  83.  
  84.   qbittorrent:
  85.     image: linuxserver/qbittorrent:latest
  86.     container_name: qbittorrent
  87.     environment:
  88.      - WEBUI_PORT=6004
  89.       - PUID=1000
  90.       - PGID=100
  91.     volumes:
  92.      - hdd1/appdata/qbittorent:/config
  93.       - hdd1/downloads:/downloads
  94.     ports:
  95.      - 6881:6881
  96.       - 6881:6881/udp
  97.       - 6004:6004
  98.     restart: unless-stopped
  99.  
  100.  
  101.   heimdall:
  102.     image: lscr.io/linuxserver/heimdall:latest
  103.     container_name: heimdall
  104.     environment:
  105.      - PUID=1000
  106.       - PGID=100
  107.       - TZ=Europe/London
  108.     volumes:
  109.      - hdd1/appdata/heimdall:/config
  110.     ports:
  111.      - 5553:80
  112.       - 5443:443
  113.     restart: unless-stopped
  114.  
  115.  
  116.  
  117.   vpn:
  118.     image: dperson/openvpn-client
  119.     # cap_add, security_opt, and volume required for the image to function
  120.     cap_add:
  121.      - net_admin
  122.     environment:
  123.       TZ: 'EST5EDT'
  124.     networks:
  125.      - default
  126.     # if using '-d' or 'DNS' you can't enable the `read_only: true` option
  127.     read_only: true
  128.     tmpfs:
  129.      - /run
  130.       - /tmp
  131.     restart: unless-stopped
  132.     security_opt:
  133.      - label:disable
  134.     stdin_open: true
  135.     tty: true
  136.     volumes:
  137.      - hdd1/appdata/openvpn/:/vpn:rw,slave
  138.  
  139.  
  140.   web:
  141.     image: dperson/nginx
  142.     depends_on:
  143.      - vpn
  144.     environment:
  145.       TZ: 'EST5EDT'
  146.     links:
  147.      - vpn:sonarr
  148.       - vpn:radarr
  149.       - vpn:jackett
  150.     networks:
  151.      - default
  152.     ports:
  153.      - "80:80"
  154.       - "443:443"
  155.     read_only: true
  156.     tmpfs:
  157.      - /run
  158.       - /tmp
  159.       - /var/cache/nginx
  160.     restart: unless-stopped
  161.     stdin_open: true
  162.     tty: true
  163.     command: >
  164.      sh -c "-w "http://sonarr:8989;/sonarr" &&
  165.              -w "http://radarr:7878;/radarr" &&
  166.              -w "http://jackett:9117;/jackett""
  167.  
  168.     # service1 shares the network stack of vpn. The service can by reached using
  169.     # the name of the service as a hostname.
  170.  
  171. networks:
  172.  default:
Add Comment
Please, Sign In to add comment