Add lidarr to autopirate stack

This commit is contained in:
Joey Hafner 2024-07-19 00:37:50 -07:00
parent 8f4b1f3835
commit 9643d6e307

View File

@ -1,185 +1,203 @@
version: '3.9' version: '3.9'
services: services:
radarr: lidarr:
image: linuxserver/radarr@sha256:1eaf9e83fca2b9170d4f49f6c0e55ba38693718e7815743a9ec297d199ab1e73 image: linuxserver/lidarr
container_name: autopirate_radarr container_name: autopirate_lidarr
networks: networks:
- web - web
env_file: env_file:
- path: ./autopirate.env - path: ./autopirate.env
required: true required: true
volumes: volumes:
- "${MOVIES_DIR}:/movies" - "${MUSIC_DIR}:/music"
- "${DOCKER_DATA}/radarr_config:/config" - "${DOCKER_DATA}/lidarr_config:/config"
- "${NZB_DIR}:/downloads" - "${NZB_DIR}:/downloads"
labels: labels:
- traefik.http.routers.radarr.rule=Host(`radarr.jafner.net`) - traefik.http.routers.lidarr.rule=Host(`lidarr.jafner.net`)
- traefik.http.routers.radarr.tls.certresolver=lets-encrypt - traefik.http.routers.lidarr.tls.certresolver=lets-encrypt
- traefik.http.services.radarr.loadbalancer.server.port=7878 - traefik.http.services.lidarr.loadbalancer.server.port=8686
- traefik.http.routers.radarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - traefik.http.routers.lidarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
sonarr: radarr:
image: linuxserver/sonarr@sha256:fbee5770f688e4f89dd073534feda11251bfde0e0a4e6ac74dd8c33bb856b505 image: linuxserver/radarr@sha256:1eaf9e83fca2b9170d4f49f6c0e55ba38693718e7815743a9ec297d199ab1e73
container_name: autopirate_sonarr container_name: autopirate_radarr
networks: networks:
- web - web
env_file: env_file:
- path: ./autopirate.env - path: ./autopirate.env
required: true required: true
volumes: volumes:
- "${SHOWS_DIR}:/shows" - "${MOVIES_DIR}:/movies"
- "${DOCKER_DATA}/sonarr_config:/config" - "${DOCKER_DATA}/radarr_config:/config"
- "${NZB_DIR}:/downloads" - "${NZB_DIR}:/downloads"
labels: labels:
- traefik.http.routers.sonarr.rule=Host(`sonarr.jafner.net`) - traefik.http.routers.radarr.rule=Host(`radarr.jafner.net`)
- traefik.http.routers.sonarr.tls.certresolver=lets-encrypt - traefik.http.routers.radarr.tls.certresolver=lets-encrypt
- traefik.http.services.sonarr.loadbalancer.server.port=8989 - traefik.http.services.radarr.loadbalancer.server.port=7878
- traefik.http.routers.sonarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - traefik.http.routers.radarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
bazarr: sonarr:
image: lscr.io/linuxserver/bazarr@sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd image: linuxserver/sonarr@sha256:fbee5770f688e4f89dd073534feda11251bfde0e0a4e6ac74dd8c33bb856b505
container_name: autopirate_bazarr container_name: autopirate_sonarr
networks: networks:
- web - web
env_file: env_file:
- path: ./autopirate.env - path: ./autopirate.env
required: true required: true
volumes: volumes:
- "${DOCKER_DATA_LOCAL}/bazarr:/config" - "${SHOWS_DIR}:/shows"
- "${MOVIES_DIR}:/movies" - "${DOCKER_DATA}/sonarr_config:/config"
- "${SHOWS_DIR}:/tv" - "${NZB_DIR}:/downloads"
labels: labels:
- traefik.http.routers.bazarr.rule=Host(`bazarr.jafner.net`) - traefik.http.routers.sonarr.rule=Host(`sonarr.jafner.net`)
- traefik.http.routers.bazarr.tls.certresolver=lets-encrypt - traefik.http.routers.sonarr.tls.certresolver=lets-encrypt
- trarfik.http.services.bazarr.loadbalancer.server.port=6767 - traefik.http.services.sonarr.loadbalancer.server.port=8989
- traefik.http.routers.bazarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - traefik.http.routers.sonarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
nzbhydra2: bazarr:
image: linuxserver/nzbhydra2@sha256:ed9c42e7425676809581c0a5057f538b88e7436a5cc3fff7163c90395b24d569 image: lscr.io/linuxserver/bazarr@sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd
container_name: autopirate_nzbhydra2 container_name: autopirate_bazarr
networks: networks:
- web - web
env_file: env_file:
- path: ./autopirate.env - path: ./autopirate.env
required: true required: true
volumes: volumes:
- "${DOCKER_DATA}/nzbhydra2_config:/config" - "${DOCKER_DATA_LOCAL}/bazarr:/config"
- "${NZB_DIR}:/downloads" - "${MOVIES_DIR}:/movies"
labels: - "${SHOWS_DIR}:/tv"
- traefik.http.routers.nzbhydra2.rule=Host(`nzbhydra.jafner.net`) labels:
- traefik.http.routers.nzbhydra2.tls.certresolver=lets-encrypt - traefik.http.routers.bazarr.rule=Host(`bazarr.jafner.net`)
- traefik.http.services.nzbhydra2.loadbalancer.server.port=5076 - traefik.http.routers.bazarr.tls.certresolver=lets-encrypt
- traefik.http.routers.nzbhydra2.middlewares=lan-only@file,traefik-forward-auth-privileged@file - trarfik.http.services.bazarr.loadbalancer.server.port=6767
- traefik.http.routers.bazarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
sabnzbd:
image: linuxserver/sabnzbd@sha256:d9ad6d86542e07d90e6da20b2adb9e89cb26ec1dc1d95bd88eeceef65c12f94b nzbhydra2:
container_name: autopirate_sabnzbd image: linuxserver/nzbhydra2@sha256:ed9c42e7425676809581c0a5057f538b88e7436a5cc3fff7163c90395b24d569
networks: container_name: autopirate_nzbhydra2
- web networks:
- monitoring - web
env_file: env_file:
- path: ./autopirate.env - path: ./autopirate.env
required: true required: true
ports: volumes:
- 8085:8080 - "${DOCKER_DATA}/nzbhydra2_config:/config"
volumes: - "${NZB_DIR}:/downloads"
- "${DOCKER_DATA_LOCAL}/sabnzbd_config:/config" labels:
- "${MOVIES_DIR}:/movies" - traefik.http.routers.nzbhydra2.rule=Host(`nzbhydra.jafner.net`)
- "${SHOWS_DIR}:/shows" - traefik.http.routers.nzbhydra2.tls.certresolver=lets-encrypt
- "${MUSIC_DIR}:/music" - traefik.http.services.nzbhydra2.loadbalancer.server.port=5076
- "${NZB_DIR}:/downloads" - traefik.http.routers.nzbhydra2.middlewares=lan-only@file,traefik-forward-auth-privileged@file
- "${INCOMPLETE_NZB_DIR}:/incomplete-downloads"
labels: sabnzbd:
- traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.jafner.net`) image: linuxserver/sabnzbd@sha256:d9ad6d86542e07d90e6da20b2adb9e89cb26ec1dc1d95bd88eeceef65c12f94b
- traefik.http.routers.sabnzbd.tls.certresolver=lets-encrypt container_name: autopirate_sabnzbd
- traefik.http.services.sabnzbd.loadbalancer.server.port=8080 networks:
- traefik.http.routers.sabnzbd.middlewares=lan-only@file,traefik-forward-auth-privileged@file - web
- monitoring
tdarr: env_file:
image: haveagitgat/tdarr@sha256:3e08ace2525b7f0bc7f99246168ad01ba9f1ef58a6ddfdd7d229691d127f93fd - path: ./autopirate.env
container_name: autopirate_tdarr required: true
networks: ports:
web: - 8085:8080
tdarr: volumes:
ipv4_address: 172.110.0.10 - "${DOCKER_DATA_LOCAL}/sabnzbd_config:/config"
ports: - "${MOVIES_DIR}:/movies"
- 8265:8265 # webUI port - "${SHOWS_DIR}:/shows"
- 8266:8266 # server port - "${MUSIC_DIR}:/music"
- 8267:8267 # node port - "${NZB_DIR}:/downloads"
labels: - "${INCOMPLETE_NZB_DIR}:/incomplete-downloads"
- traefik.http.routers.tdarr.rule=Host(`tdarr.jafner.net`) labels:
- traefik.http.routers.tdarr.tls.certresolver=lets-encrypt - traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.jafner.net`)
- traefik.http.routers.tdarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file - traefik.http.routers.sabnzbd.tls.certresolver=lets-encrypt
- traefik.http.services.tdarr.loadbalancer.server.port=8265 - traefik.http.services.sabnzbd.loadbalancer.server.port=8080
env_file: - traefik.http.routers.sabnzbd.middlewares=lan-only@file,traefik-forward-auth-privileged@file
- path: ./autopirate.env
required: true tdarr:
- path: ./tdarr.env image: haveagitgat/tdarr@sha256:3e08ace2525b7f0bc7f99246168ad01ba9f1ef58a6ddfdd7d229691d127f93fd
required: true container_name: autopirate_tdarr
volumes: networks:
- ${DOCKER_DATA}/tdarr/server:/app/server web:
- ${DOCKER_DATA}/tdarr/configs:/app/configs tdarr:
- ${DOCKER_DATA}/tdarr/logs:/app/logs ipv4_address: 172.110.0.10
- ${MOVIES_DIR}:/movies ports:
- ${SHOWS_DIR}:/shows - 8265:8265 # webUI port
- ${TRANSCODE_DIR}/transcode_cache:/temp - 8266:8266 # server port
- 8267:8267 # node port
tdarr-node: labels:
image: haveagitgat/tdarr_node@sha256:c4c2ccfcb429d5db56db3a47ff16f27bdbdb1c7c9b623a57e6f0c1874d8f7fa2 - traefik.http.routers.tdarr.rule=Host(`tdarr.jafner.net`)
container_name: autopirate_tdarr-node - traefik.http.routers.tdarr.tls.certresolver=lets-encrypt
networks: - traefik.http.routers.tdarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file
tdarr: - traefik.http.services.tdarr.loadbalancer.server.port=8265
ipv4_address: 172.110.0.20 env_file:
env_file: - path: ./autopirate.env
- path: ./autopirate.env required: true
required: true - path: ./tdarr.env
- path: ./tdarr_node.env required: true
required: true volumes:
volumes: - ${DOCKER_DATA}/tdarr/server:/app/server
- ${DOCKER_DATA}/tdarr/configs:/app/configs - ${DOCKER_DATA}/tdarr/configs:/app/configs
- ${DOCKER_DATA}/tdarr/logs:/app/logs - ${DOCKER_DATA}/tdarr/logs:/app/logs
- ${MOVIES_DIR}:/movies - ${MOVIES_DIR}:/movies
- ${SHOWS_DIR}:/shows - ${SHOWS_DIR}:/shows
- ${TRANSCODE_DIR}/transcode_cache:/temp - ${TRANSCODE_DIR}/transcode_cache:/temp
jackett: tdarr-node:
image: linuxserver/jackett@sha256:a81c1dd3740a9f27b3692c2187543626f0202eebf39bc269d191022b880dcb9e image: haveagitgat/tdarr_node@sha256:c4c2ccfcb429d5db56db3a47ff16f27bdbdb1c7c9b623a57e6f0c1874d8f7fa2
container_name: autopirate_jackett container_name: autopirate_tdarr-node
networks: networks:
- web tdarr:
env_file: ipv4_address: 172.110.0.20
- path: ./autopirate.env env_file:
required: true - path: ./autopirate.env
- path: ./jackett.env required: true
required: true - path: ./tdarr_node.env
volumes: required: true
- "${DOCKER_DATA}/jackett_config:/config" volumes:
- "${NZB_DIR}:/downloads" - ${DOCKER_DATA}/tdarr/configs:/app/configs
labels: - ${DOCKER_DATA}/tdarr/logs:/app/logs
- traefik.http.routers.jackett.rule=Host(`jackett.jafner.net`) - ${MOVIES_DIR}:/movies
- traefik.http.routers.jackett.tls.certresolver=lets-encrypt - ${SHOWS_DIR}:/shows
- traefik.http.services.jackett.loadbalancer.server.port=9117 - ${TRANSCODE_DIR}/transcode_cache:/temp
- traefik.http.routers.jackett.middlewares=lan-only@file,traefik-forward-auth-privileged@file
jackett:
exporter-sabnzbd: image: linuxserver/jackett@sha256:a81c1dd3740a9f27b3692c2187543626f0202eebf39bc269d191022b880dcb9e
image: msroest/sabnzbd_exporter@sha256:4755e4dd31088d79b1d4fe754e9bd3943b1b5192ed0a76ef0f78cb5add28e857 container_name: autopirate_jackett
container_name: autopirate_sabnzbd-exporter networks:
restart: "no" - web
networks: env_file:
- monitoring - path: ./autopirate.env
env_file: required: true
- path: ./exporter-sabnzbd.env - path: ./jackett.env
required: true required: true
- path: ./exporter-sabnzbd_secrets.env volumes:
required: false - "${DOCKER_DATA}/jackett_config:/config"
- "${NZB_DIR}:/downloads"
networks: labels:
tdarr: - traefik.http.routers.jackett.rule=Host(`jackett.jafner.net`)
ipam: - traefik.http.routers.jackett.tls.certresolver=lets-encrypt
driver: default - traefik.http.services.jackett.loadbalancer.server.port=9117
config: - traefik.http.routers.jackett.middlewares=lan-only@file,traefik-forward-auth-privileged@file
- subnet: "172.110.0.0/24"
web: exporter-sabnzbd:
external: true image: msroest/sabnzbd_exporter@sha256:4755e4dd31088d79b1d4fe754e9bd3943b1b5192ed0a76ef0f78cb5add28e857
monitoring: container_name: autopirate_sabnzbd-exporter
external: true 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