From 9643d6e3072187f283508de504fb46f8e6917c92 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 19 Jul 2024 00:37:50 -0700 Subject: [PATCH] Add lidarr to autopirate stack --- .../config/autopirate/docker-compose.yml | 388 +++++++++--------- 1 file changed, 203 insertions(+), 185 deletions(-) diff --git a/homelab/fighter/config/autopirate/docker-compose.yml b/homelab/fighter/config/autopirate/docker-compose.yml index 219e15b5..1ed9a290 100644 --- a/homelab/fighter/config/autopirate/docker-compose.yml +++ b/homelab/fighter/config/autopirate/docker-compose.yml @@ -1,185 +1,203 @@ -version: '3.9' -services: - radarr: - image: linuxserver/radarr@sha256:1eaf9e83fca2b9170d4f49f6c0e55ba38693718e7815743a9ec297d199ab1e73 - container_name: autopirate_radarr - networks: - - web - env_file: - - path: ./autopirate.env - required: true - volumes: - - "${MOVIES_DIR}:/movies" - - "${DOCKER_DATA}/radarr_config:/config" - - "${NZB_DIR}:/downloads" - labels: - - traefik.http.routers.radarr.rule=Host(`radarr.jafner.net`) - - traefik.http.routers.radarr.tls.certresolver=lets-encrypt - - traefik.http.services.radarr.loadbalancer.server.port=7878 - - traefik.http.routers.radarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - sonarr: - image: linuxserver/sonarr@sha256:fbee5770f688e4f89dd073534feda11251bfde0e0a4e6ac74dd8c33bb856b505 - container_name: autopirate_sonarr - networks: - - web - env_file: - - path: ./autopirate.env - required: true - volumes: - - "${SHOWS_DIR}:/shows" - - "${DOCKER_DATA}/sonarr_config:/config" - - "${NZB_DIR}:/downloads" - labels: - - traefik.http.routers.sonarr.rule=Host(`sonarr.jafner.net`) - - traefik.http.routers.sonarr.tls.certresolver=lets-encrypt - - traefik.http.services.sonarr.loadbalancer.server.port=8989 - - traefik.http.routers.sonarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - bazarr: - image: lscr.io/linuxserver/bazarr@sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd - container_name: autopirate_bazarr - networks: - - web - env_file: - - path: ./autopirate.env - required: true - volumes: - - "${DOCKER_DATA_LOCAL}/bazarr:/config" - - "${MOVIES_DIR}:/movies" - - "${SHOWS_DIR}:/tv" - labels: - - traefik.http.routers.bazarr.rule=Host(`bazarr.jafner.net`) - - traefik.http.routers.bazarr.tls.certresolver=lets-encrypt - - trarfik.http.services.bazarr.loadbalancer.server.port=6767 - - traefik.http.routers.bazarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - nzbhydra2: - image: linuxserver/nzbhydra2@sha256:ed9c42e7425676809581c0a5057f538b88e7436a5cc3fff7163c90395b24d569 - container_name: autopirate_nzbhydra2 - networks: - - web - env_file: - - path: ./autopirate.env - required: true - volumes: - - "${DOCKER_DATA}/nzbhydra2_config:/config" - - "${NZB_DIR}:/downloads" - labels: - - traefik.http.routers.nzbhydra2.rule=Host(`nzbhydra.jafner.net`) - - traefik.http.routers.nzbhydra2.tls.certresolver=lets-encrypt - - traefik.http.services.nzbhydra2.loadbalancer.server.port=5076 - - traefik.http.routers.nzbhydra2.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - sabnzbd: - image: linuxserver/sabnzbd@sha256:d9ad6d86542e07d90e6da20b2adb9e89cb26ec1dc1d95bd88eeceef65c12f94b - container_name: autopirate_sabnzbd - networks: - - web - - monitoring - env_file: - - path: ./autopirate.env - required: true - ports: - - 8085:8080 - volumes: - - "${DOCKER_DATA_LOCAL}/sabnzbd_config:/config" - - "${MOVIES_DIR}:/movies" - - "${SHOWS_DIR}:/shows" - - "${MUSIC_DIR}:/music" - - "${NZB_DIR}:/downloads" - - "${INCOMPLETE_NZB_DIR}:/incomplete-downloads" - labels: - - traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.jafner.net`) - - traefik.http.routers.sabnzbd.tls.certresolver=lets-encrypt - - traefik.http.services.sabnzbd.loadbalancer.server.port=8080 - - traefik.http.routers.sabnzbd.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - tdarr: - image: haveagitgat/tdarr@sha256:3e08ace2525b7f0bc7f99246168ad01ba9f1ef58a6ddfdd7d229691d127f93fd - container_name: autopirate_tdarr - networks: - web: - tdarr: - ipv4_address: 172.110.0.10 - ports: - - 8265:8265 # webUI port - - 8266:8266 # server port - - 8267:8267 # node port - labels: - - traefik.http.routers.tdarr.rule=Host(`tdarr.jafner.net`) - - traefik.http.routers.tdarr.tls.certresolver=lets-encrypt - - traefik.http.routers.tdarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - traefik.http.services.tdarr.loadbalancer.server.port=8265 - env_file: - - path: ./autopirate.env - required: true - - path: ./tdarr.env - required: true - volumes: - - ${DOCKER_DATA}/tdarr/server:/app/server - - ${DOCKER_DATA}/tdarr/configs:/app/configs - - ${DOCKER_DATA}/tdarr/logs:/app/logs - - ${MOVIES_DIR}:/movies - - ${SHOWS_DIR}:/shows - - ${TRANSCODE_DIR}/transcode_cache:/temp - - tdarr-node: - image: haveagitgat/tdarr_node@sha256:c4c2ccfcb429d5db56db3a47ff16f27bdbdb1c7c9b623a57e6f0c1874d8f7fa2 - container_name: autopirate_tdarr-node - networks: - tdarr: - ipv4_address: 172.110.0.20 - env_file: - - path: ./autopirate.env - required: true - - path: ./tdarr_node.env - required: true - volumes: - - ${DOCKER_DATA}/tdarr/configs:/app/configs - - ${DOCKER_DATA}/tdarr/logs:/app/logs - - ${MOVIES_DIR}:/movies - - ${SHOWS_DIR}:/shows - - ${TRANSCODE_DIR}/transcode_cache:/temp - - jackett: - image: linuxserver/jackett@sha256:a81c1dd3740a9f27b3692c2187543626f0202eebf39bc269d191022b880dcb9e - container_name: autopirate_jackett - networks: - - web - env_file: - - path: ./autopirate.env - required: true - - path: ./jackett.env - required: true - volumes: - - "${DOCKER_DATA}/jackett_config:/config" - - "${NZB_DIR}:/downloads" - labels: - - traefik.http.routers.jackett.rule=Host(`jackett.jafner.net`) - - traefik.http.routers.jackett.tls.certresolver=lets-encrypt - - traefik.http.services.jackett.loadbalancer.server.port=9117 - - traefik.http.routers.jackett.middlewares=lan-only@file,traefik-forward-auth-privileged@file - - exporter-sabnzbd: - image: msroest/sabnzbd_exporter@sha256:4755e4dd31088d79b1d4fe754e9bd3943b1b5192ed0a76ef0f78cb5add28e857 - container_name: autopirate_sabnzbd-exporter - restart: "no" - networks: - - monitoring - env_file: - - path: ./exporter-sabnzbd.env - required: true - - path: ./exporter-sabnzbd_secrets.env - required: false - -networks: - tdarr: - ipam: - driver: default - config: - - subnet: "172.110.0.0/24" - web: - external: true - monitoring: - external: true +version: '3.9' +services: + lidarr: + image: linuxserver/lidarr + container_name: autopirate_lidarr + networks: + - web + env_file: + - path: ./autopirate.env + required: true + volumes: + - "${MUSIC_DIR}:/music" + - "${DOCKER_DATA}/lidarr_config:/config" + - "${NZB_DIR}:/downloads" + labels: + - traefik.http.routers.lidarr.rule=Host(`lidarr.jafner.net`) + - traefik.http.routers.lidarr.tls.certresolver=lets-encrypt + - traefik.http.services.lidarr.loadbalancer.server.port=8686 + - traefik.http.routers.lidarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + radarr: + image: linuxserver/radarr@sha256:1eaf9e83fca2b9170d4f49f6c0e55ba38693718e7815743a9ec297d199ab1e73 + container_name: autopirate_radarr + networks: + - web + env_file: + - path: ./autopirate.env + required: true + volumes: + - "${MOVIES_DIR}:/movies" + - "${DOCKER_DATA}/radarr_config:/config" + - "${NZB_DIR}:/downloads" + labels: + - traefik.http.routers.radarr.rule=Host(`radarr.jafner.net`) + - traefik.http.routers.radarr.tls.certresolver=lets-encrypt + - traefik.http.services.radarr.loadbalancer.server.port=7878 + - traefik.http.routers.radarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + sonarr: + image: linuxserver/sonarr@sha256:fbee5770f688e4f89dd073534feda11251bfde0e0a4e6ac74dd8c33bb856b505 + container_name: autopirate_sonarr + networks: + - web + env_file: + - path: ./autopirate.env + required: true + volumes: + - "${SHOWS_DIR}:/shows" + - "${DOCKER_DATA}/sonarr_config:/config" + - "${NZB_DIR}:/downloads" + labels: + - traefik.http.routers.sonarr.rule=Host(`sonarr.jafner.net`) + - traefik.http.routers.sonarr.tls.certresolver=lets-encrypt + - traefik.http.services.sonarr.loadbalancer.server.port=8989 + - traefik.http.routers.sonarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + bazarr: + image: lscr.io/linuxserver/bazarr@sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd + container_name: autopirate_bazarr + networks: + - web + env_file: + - path: ./autopirate.env + required: true + volumes: + - "${DOCKER_DATA_LOCAL}/bazarr:/config" + - "${MOVIES_DIR}:/movies" + - "${SHOWS_DIR}:/tv" + labels: + - traefik.http.routers.bazarr.rule=Host(`bazarr.jafner.net`) + - traefik.http.routers.bazarr.tls.certresolver=lets-encrypt + - trarfik.http.services.bazarr.loadbalancer.server.port=6767 + - traefik.http.routers.bazarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + nzbhydra2: + image: linuxserver/nzbhydra2@sha256:ed9c42e7425676809581c0a5057f538b88e7436a5cc3fff7163c90395b24d569 + container_name: autopirate_nzbhydra2 + networks: + - web + env_file: + - path: ./autopirate.env + required: true + volumes: + - "${DOCKER_DATA}/nzbhydra2_config:/config" + - "${NZB_DIR}:/downloads" + labels: + - traefik.http.routers.nzbhydra2.rule=Host(`nzbhydra.jafner.net`) + - traefik.http.routers.nzbhydra2.tls.certresolver=lets-encrypt + - traefik.http.services.nzbhydra2.loadbalancer.server.port=5076 + - traefik.http.routers.nzbhydra2.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + sabnzbd: + image: linuxserver/sabnzbd@sha256:d9ad6d86542e07d90e6da20b2adb9e89cb26ec1dc1d95bd88eeceef65c12f94b + container_name: autopirate_sabnzbd + networks: + - web + - monitoring + env_file: + - path: ./autopirate.env + required: true + ports: + - 8085:8080 + volumes: + - "${DOCKER_DATA_LOCAL}/sabnzbd_config:/config" + - "${MOVIES_DIR}:/movies" + - "${SHOWS_DIR}:/shows" + - "${MUSIC_DIR}:/music" + - "${NZB_DIR}:/downloads" + - "${INCOMPLETE_NZB_DIR}:/incomplete-downloads" + labels: + - traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.jafner.net`) + - traefik.http.routers.sabnzbd.tls.certresolver=lets-encrypt + - traefik.http.services.sabnzbd.loadbalancer.server.port=8080 + - traefik.http.routers.sabnzbd.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + tdarr: + image: haveagitgat/tdarr@sha256:3e08ace2525b7f0bc7f99246168ad01ba9f1ef58a6ddfdd7d229691d127f93fd + container_name: autopirate_tdarr + networks: + web: + tdarr: + ipv4_address: 172.110.0.10 + ports: + - 8265:8265 # webUI port + - 8266:8266 # server port + - 8267:8267 # node port + labels: + - traefik.http.routers.tdarr.rule=Host(`tdarr.jafner.net`) + - traefik.http.routers.tdarr.tls.certresolver=lets-encrypt + - traefik.http.routers.tdarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + - traefik.http.services.tdarr.loadbalancer.server.port=8265 + env_file: + - path: ./autopirate.env + required: true + - path: ./tdarr.env + required: true + volumes: + - ${DOCKER_DATA}/tdarr/server:/app/server + - ${DOCKER_DATA}/tdarr/configs:/app/configs + - ${DOCKER_DATA}/tdarr/logs:/app/logs + - ${MOVIES_DIR}:/movies + - ${SHOWS_DIR}:/shows + - ${TRANSCODE_DIR}/transcode_cache:/temp + + tdarr-node: + image: haveagitgat/tdarr_node@sha256:c4c2ccfcb429d5db56db3a47ff16f27bdbdb1c7c9b623a57e6f0c1874d8f7fa2 + container_name: autopirate_tdarr-node + networks: + tdarr: + ipv4_address: 172.110.0.20 + env_file: + - path: ./autopirate.env + required: true + - path: ./tdarr_node.env + required: true + volumes: + - ${DOCKER_DATA}/tdarr/configs:/app/configs + - ${DOCKER_DATA}/tdarr/logs:/app/logs + - ${MOVIES_DIR}:/movies + - ${SHOWS_DIR}:/shows + - ${TRANSCODE_DIR}/transcode_cache:/temp + + jackett: + image: linuxserver/jackett@sha256:a81c1dd3740a9f27b3692c2187543626f0202eebf39bc269d191022b880dcb9e + container_name: autopirate_jackett + networks: + - web + env_file: + - path: ./autopirate.env + required: true + - path: ./jackett.env + required: true + volumes: + - "${DOCKER_DATA}/jackett_config:/config" + - "${NZB_DIR}:/downloads" + labels: + - traefik.http.routers.jackett.rule=Host(`jackett.jafner.net`) + - traefik.http.routers.jackett.tls.certresolver=lets-encrypt + - traefik.http.services.jackett.loadbalancer.server.port=9117 + - traefik.http.routers.jackett.middlewares=lan-only@file,traefik-forward-auth-privileged@file + + exporter-sabnzbd: + image: msroest/sabnzbd_exporter@sha256:4755e4dd31088d79b1d4fe754e9bd3943b1b5192ed0a76ef0f78cb5add28e857 + container_name: autopirate_sabnzbd-exporter + restart: "no" + networks: + - monitoring + env_file: + - path: ./exporter-sabnzbd.env + required: true + - path: ./exporter-sabnzbd_secrets.env + required: false + +networks: + tdarr: + ipam: + driver: default + config: + - subnet: "172.110.0.0/24" + web: + external: true + monitoring: + external: true