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

232 lines
6.8 KiB
YAML
Raw Normal View History

2022-02-08 17:00:27 -08:00
version: "3"
services:
radarr:
image: linuxserver/radarr
container_name: autopirate_radarr
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-02-08 17:00:27 -08:00
networks:
- web
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
2022-02-08 17:00:27 -08:00
volumes:
- "${MEDIA_DIR}/Video/Movies:/movies"
- "${DOCKER_DATA}/radarr_config:/config"
2022-07-05 16:54:14 -07:00
- "${NZB_DIR}:/downloads"
2022-02-08 17:00:27 -08:00
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
2022-10-17 11:14:33 -07:00
2022-02-08 17:00:27 -08:00
sonarr:
image: linuxserver/sonarr
container_name: autopirate_sonarr
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-02-08 17:00:27 -08:00
networks:
- web
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
2022-02-08 17:00:27 -08:00
volumes:
- "${MEDIA_DIR}/Video/Shows:/shows"
- "${DOCKER_DATA}/sonarr_config:/config"
2022-07-05 16:54:14 -07:00
- "${NZB_DIR}:/downloads"
2022-02-08 17:00:27 -08:00
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
2022-03-08 09:31:12 -08:00
2022-05-04 09:38:17 -07:00
lidarr:
image: linuxserver/lidarr
container_name: autopirate_lidarr
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-05-03 22:37:59 -07:00
networks:
- web
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
2022-05-03 22:37:59 -07:00
volumes:
2022-05-04 09:38:17 -07:00
- "${DOCKER_DATA}/lidarr:/config"
2022-07-05 16:54:14 -07:00
- "${NZB_DIR}:/downloads"
2022-05-03 22:37:59 -07:00
- "${MEDIA_DIR}/Audio/Music:/music"
labels:
2022-05-04 09:38:17 -07:00
- 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,traefik-forward-auth-privileged@file
2022-05-03 22:37:59 -07:00
2022-02-08 17:00:27 -08:00
nzbhydra2:
image: linuxserver/nzbhydra2
container_name: autopirate_nzbhydra2
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-02-08 17:00:27 -08:00
networks:
- web
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
2022-02-08 17:00:27 -08:00
volumes:
- "${DOCKER_DATA}/nzbhydra2_config:/config"
2022-07-05 16:54:14 -07:00
- "${NZB_DIR}:/downloads"
2022-02-08 17:00:27 -08:00
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
2022-02-08 17:00:27 -08:00
sabnzbd:
image: linuxserver/sabnzbd
container_name: autopirate_sabnzbd
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-02-08 17:00:27 -08:00
networks:
- web
2022-05-11 01:35:59 -07:00
- monitoring
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
2022-02-08 17:00:27 -08:00
ports:
- 8085:8080
volumes:
- "${DOCKER_DATA}/sabnzbd_config:/config"
2022-07-05 16:54:14 -07:00
- "${NZB_DIR}:/downloads"
- "${INCOMPLETE_NZB_DIR}:/incomplete-downloads"
2022-02-08 17:00:27 -08:00
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
2022-03-08 09:31:12 -08:00
tdarr:
image: haveagitgat/tdarr:latest
container_name: autopirate_tdarr
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-03-08 09:31:12 -08:00
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
2022-03-08 09:31:12 -08:00
- traefik.http.services.tdarr.loadbalancer.server.port=8265
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
- tdarr.env
2022-03-08 09:31:12 -08:00
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
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-03-08 09:31:12 -08:00
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
limits:
cpus: '12.00'
networks:
tdarr:
ipv4_address: 172.110.0.20
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
- tdarr_node.env
2022-03-08 09:31:12 -08:00
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
2022-07-05 16:54:14 -07:00
jackett:
image: linuxserver/jackett
container_name: autopirate_jackett
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-07-05 16:54:14 -07:00
networks:
- web
2022-11-01 00:29:39 -07:00
env_file:
- autopirate.env
- jackett.env
2022-07-05 16:54:14 -07:00
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
2022-07-05 16:56:53 -07:00
- traefik.http.services.jackett.loadbalancer.server.port=9117
- traefik.http.routers.jackett.middlewares=lan-only@file,traefik-forward-auth-privileged@file
2022-07-05 16:54:14 -07:00
2022-02-08 17:00:27 -08:00
networks:
2022-03-08 09:31:12 -08:00
tdarr:
ipam:
driver: default
config:
- subnet: "172.110.0.0/24"
2022-02-08 17:00:27 -08:00
web:
external: true
2022-05-11 01:35:59 -07:00
monitoring:
external: true