Kevinator

docker_compose_network_for_arrs_ubuntu_22.04

Nov 18th, 2022 (edited)
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.16 KB | None | 0 0
  1. version: 2.12.2
  2.  
  3. # Defining Custom Bridge Networks
  4. networks:
  5.   network1:
  6.     name: plex_network # Plex & Tautulli
  7.     driver: bridge
  8.   network2:
  9.     name: torrent_network # Arrs, Jackett & qBit
  10.     driver: bridge
  11.  
  12. services:
  13.  # Portainer (Standalone / Default Bridge Network)
  14.   portainer:
  15.     container_name: portainer
  16.     image: "portainer/portainer-ce:latest"
  17.     restart: unless-stopped
  18.     ports:
  19.      - "$PORTAINER_PORT:$PORTAINER_PORT"
  20.     volumes:
  21.      - "/etc/localtime:/etc/localtime:ro"
  22.       - "/var/run/docker.sock:/var/run/docker.sock:ro"
  23.       - "$SERVICE_DIR/Portainer:/data"
  24.   # Plex
  25.   plex:
  26.     container_name: plex
  27.     image: "linuxserver/plex:latest"
  28.     restart: unless-stopped
  29.     ports:
  30.      - "$PLEXUI_PORT:$PLEXUI_PORT"
  31.     environment:
  32.      - "PUID=$PUID"
  33.       - "PGID=$PGID"
  34.       - "VERSION=docker"
  35.       - "TZ=$TIMEZONE"
  36.       - "ALLOWED_NETWORKS=192.168.1.0/24"
  37.     volumes:
  38.      - "$SERVICE_DIR/Plex:/config"
  39.       - "$SERVICE_DIR/Plex:/transcode"
  40.     networks:
  41.      - "plex_network"
  42.   # Tautulli
  43.   tautulli:
  44.     container_name: tautulli
  45.     image: "linuxserver/tautulli:latest"
  46.     restart: unless-stopped
  47.     ports:
  48.      - "$TAUTULLI_PORT:$TAUTULLI_PORT"
  49.     environment:
  50.      - "PUID=$PUID"
  51.       - "PGID=$PGID"
  52.       - "TZ=$TIMEZONE"
  53.     volumes:
  54.      - "$SERVICE_DIR/Tautulli:/config"
  55.     networks:
  56.      - "plex_network"
  57.   # Prowlarr
  58.   prowlarr:
  59.     container_name: prowlarr
  60.     image: "linuxserver/prowlarr:develop"
  61.     restart: unless-stopped
  62.     ports:
  63.      - "$PROWLARR_PORT:$PROWLARR_PORT"
  64.     environment:
  65.      - "PUID=$PUID"
  66.       - "PGID=$PGID"
  67.       - "TZ=$TIMEZONE"
  68.     volumes:
  69.      - "$SERVICE_DIR/Prowlarr:/config"
  70.     networks:
  71.      - "torrent_network"
  72.   # Sonarr
  73.   sonarr:
  74.     image: "linuxserver/sonarr:latest"
  75.     container_name: sonarr
  76.     restart: unless-stopped
  77.     network_mode: host
  78.     ports:
  79.      - "$SONARR_PORT:$SONARR_PORT"
  80.     environment:
  81.      - "PUID=$PUID"
  82.       - "PGID=$PGID"
  83.       - "UMASK=022"
  84.       - "TZ=$TIMEZONE"
  85.     volumes:
  86.      - "$SERVICE_DIR/Sonarr:/config"
  87.       - "$MEDIA_DIR/Shows:/tv"
  88.       - "$DOWNLOAD_DIR/Shows:/sonarr_downloads"
  89.     networks:
  90.      - "torrent_network"
  91.   # Radarr
  92.   radarr:
  93.     container_name: radarr
  94.     image: "linuxserver/radarr:latest"
  95.     restart: unless-stopped
  96.     network_mode: host
  97.     ports:
  98.      - "$RADARR_PORT:$RADARR_PORT"
  99.     environment:
  100.      - "PUID=$PUID"
  101.       - "PGID=$PGID"
  102.       - "UMASK=022"
  103.       - "TZ=$TIMEZONE"
  104.     volumes:
  105.      - "$SERVICE_DIR/Radarr:/config"
  106.       - "$MEDIA_DIR/Movies:/movies"
  107.       - "$DOWNLOAD_DIR/Movies:/radarr_downloads"
  108.     networks:
  109.      - "torrent_network"
  110.   # qBittorrent
  111.   qbittorrent:
  112.     container_name: qbittorrent
  113.     image: linuxserver/qbittorrent:latest
  114.     restart: unless-stopped
  115.     ports:
  116.      - "$QBITTORRENT_PORT:$QBITTORRENT_PORT"
  117.     environment:
  118.      - "PUID=$PUID"
  119.       - "PGID=$PGID"
  120.       - "TZ=${TIMEZONE}"
  121.       - "WEBUI_PORT=$QBITTORRENT_PORT"
  122.     volumes:
  123.      - "$SERVICE_DIR/qBittorrent:/config"
  124.       - "$DOWNLOAD_DIR/qBittorrent:/qbittorrent_downloads"
  125.     networks:
  126.      - "torrent_network"
  127.  
Add Comment
Please, Sign In to add comment