From 021b61f5ca0c61255ca194368fd98c2e72168c1b Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 22 Aug 2024 20:49:16 -0700 Subject: [PATCH] #12 Init Readarr --- homelab/fighter/config/autopirate/.env | 1 + .../config/autopirate/docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/homelab/fighter/config/autopirate/.env b/homelab/fighter/config/autopirate/.env index 4fb6bad8..e01a7a61 100644 --- a/homelab/fighter/config/autopirate/.env +++ b/homelab/fighter/config/autopirate/.env @@ -3,6 +3,7 @@ DOCKER_DATA_LOCAL=/home/admin/data/autopirate MOVIES_DIR=/mnt/nas/movies SHOWS_DIR=/mnt/nas/shows MUSIC_DIR=/mnt/nas/music +BOOKS_DIR=/mnt/nas/books NZB_DIR=/mnt/iscsi/barbarian/torrenting/NZB INCOMPLETE_NZB_DIR=/mnt/iscsi/barbarian/torrenting/NZB_incomplete TRANSCODE_DIR=/mnt/iscsi/barbarian/tdarr diff --git a/homelab/fighter/config/autopirate/docker-compose.yml b/homelab/fighter/config/autopirate/docker-compose.yml index 09f128f8..7cebcc64 100644 --- a/homelab/fighter/config/autopirate/docker-compose.yml +++ b/homelab/fighter/config/autopirate/docker-compose.yml @@ -53,6 +53,24 @@ services: - traefik.http.services.sonarr.loadbalancer.server.port=8989 - traefik.http.routers.sonarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + readarr: + image: linuxserver/readarr:latest + container_name: autopirate_readarr + networks: + - web + env_file: + - path: ./autopirate.env + required: true + volumes: + - "${BOOKS_DIR}:/books" + - "${DOCKER_DATA}/readarr_config:/config" + - "${NZB_DIR}:/downloads" + labels: + - traefik.http.routers.readarr.rule=Host(`readarr.jafner.net`) + - traefik.http.routers.readarr.tls.certresolver=lets-encrypt + - traefik.http.services.readarr.loadbalancer.server.port=8787 + - traefik.http.routers.readarr.middlewares=lan-only@file,traefik-forward-auth-privileged@file + bazarr: image: lscr.io/linuxserver/bazarr:latest container_name: autopirate_bazarr