Jafner.net/homelab/fighter/config/autopirate/docker-compose.yml

186 lines
6.3 KiB
YAML

version: '3.9'
services:
radarr:
image: linuxserver/radarr@sha256:0f78e9253e39d479633e74cff5f711475b23cf5a4645aba858720de841a4e8fb
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:9b04c13e305bf48178e4a5255168839e53aee372d1474131cd88534ca836bf62
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:afe662888dd2c37eba49b71f3f8ce133f28ae64552c0cd6bbfde065f019864d8
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:645dfb481df3d52b8e700741962f9c2a21beefdfe82af8cebd67567250929bd2
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:f61256fc10967d58ed93c166713c7d408dd4a88cb603586bca134a3718247f86
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:eaaa962e54de4f95b15fff796e010954562e6ed7a4466d14ef79ffda1ca1f0da
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:cf501cd9d020dd86219d162b5ffa155f0c7960e71363b5594c318256a9d3e01f
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:1be05100450bbb13a08dbeb2a2d28427ed10739f2055e3b08aa324c9d2cfe758
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:0ac4ec45902136c4dba1e0cb20e024c77ff57eddc144c77aac6b3cd95459fc12
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