homelab/server/config/autopirate/docker-compose.yml

174 lines
4.9 KiB
YAML

version: "3"
services:
radarr:
image: linuxserver/radarr
container_name: autopirate_radarr
networks:
- web
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- "${MEDIA_DIR}/Video/Movies:/movies"
- "${DOCKER_DATA}/radarr_config:/config"
- "${DOWNLOAD_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
sonarr:
image: linuxserver/sonarr
container_name: autopirate_sonarr
networks:
- web
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- "${MEDIA_DIR}/Video/Shows:/shows"
- "${DOCKER_DATA}/sonarr_config:/config"
- "${DOWNLOAD_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
lidarr:
image: linuxserver/lidarr
container_name: autopirate_lidarr
networks:
- web
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- "${DOCKER_DATA}/lidarr:/config"
- "${DOWNLOAD_DIR}:/downloads"
- "${MEDIA_DIR}/Audio/Music:/music"
labels:
- traefik.http.routers.lidarr.rule=Host(`lidarr.jafner.net`)
- traefik.http.routers.lidarr.tls.certresolver=lets-encrypt
- trarfik.http.services.lidarr.loadbalancer.server.port=8686
- traefik.http.routers.lidarr.middlewares=lan-only@file
nzbhydra2:
image: linuxserver/nzbhydra2
container_name: autopirate_nzbhydra2
networks:
- web
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- "${DOCKER_DATA}/nzbhydra2_config:/config"
- "${DOWNLOAD_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
sabnzbd:
image: linuxserver/sabnzbd
container_name: autopirate_sabnzbd
networks:
- web
- monitoring
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
ports:
- 8085:8080
volumes:
- "${DOCKER_DATA}/sabnzbd_config:/config"
- "${DOWNLOAD_DIR}:/downloads"
- "${INCOMPLETE_DOWNLOAD_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
tdarr:
image: haveagitgat/tdarr:latest
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.services.tdarr.loadbalancer.server.port=8265
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- UMASK_SET=002
- serverIP=0.0.0.0
- serverPort=8266
- webUIPort=8265
volumes:
- ${DOCKER_DATA}/tdarr/server:/app/server
- ${DOCKER_DATA}/tdarr/configs:/app/configs
- ${DOCKER_DATA}/tdarr/logs:/app/logs
- ${MEDIA_DIR}/Video/Movies:/movies
- ${MEDIA_DIR}/Video/Shows:/shows
- ${TRANSCODE_DIR}/transcode_cache:/temp
tdarr-node:
image: haveagitgat/tdarr_node:latest
container_name: autopirate_tdarr-node
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
limits:
cpus: '12.00'
networks:
tdarr:
ipv4_address: 172.110.0.20
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- UMASK_SET=002
- nodeID=MainNode
- nodeIP=172.110.0.20
- nodePort=8267
- serverIP=172.110.0.10
- serverPort=8266
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
volumes:
- ${DOCKER_DATA}/tdarr/configs:/app/configs
- ${DOCKER_DATA}/tdarr/logs:/app/logs
- ${MEDIA_DIR}/Video/Movies:/movies
- ${MEDIA_DIR}/Video/Shows:/shows
- ${TRANSCODE_DIR}/transcode_cache:/temp
networks:
tdarr:
ipam:
driver: default
config:
- subnet: "172.110.0.0/24"
web:
external: true
monitoring:
external: true