From 51c80a4e2c7a34f22813bef5b44147cbf880203f Mon Sep 17 00:00:00 2001 From: "Andreas S. Turriff" Date: Wed, 19 Jun 2024 09:50:11 -0700 Subject: [PATCH] Media Server Pt 7 --- authentik.yaml | 4 ++-- gitea.yaml | 2 +- lidarr.yaml | 37 +++++-------------------------------- prowlarr.yaml | 36 ++++++++++++++++++------------------ radarr.yaml | 32 ++++++++++++++++++++++++++++++++ readarr.yaml | 32 ++++++++++++++++++++++++++++++++ sonarr.yaml | 32 ++++++++++++++++++++++++++++++++ 7 files changed, 122 insertions(+), 53 deletions(-) create mode 100644 radarr.yaml create mode 100644 readarr.yaml create mode 100644 sonarr.yaml diff --git a/authentik.yaml b/authentik.yaml index 3d71dc9..49e01c4 100644 --- a/authentik.yaml +++ b/authentik.yaml @@ -21,7 +21,7 @@ AUTHENTIK_REDIS__HOST: "valkey" AUTHENTIK_SECRET_KEY: "file:///run/secrets/authentik-secret" AUTHENTIK_EMAIL__HOST: "munin.your.domain" - AUTHENTIK_EMAIL__FROM: "authentik@turriff.net" + AUTHENTIK_EMAIL__FROM: "authentik@your.domain" hostname: "authentik-server" image: "ghcr.io/goauthentik/server:2024.4" logging: @@ -52,7 +52,7 @@ AUTHENTIK_REDIS__HOST: "valkey" AUTHENTIK_SECRET_KEY: "file:///run/secrets/authentik-secret" AUTHENTIK_EMAIL__HOST: "munin.your.domain" - AUTHENTIK_EMAIL__FROM: "authentik@turriff.net" + AUTHENTIK_EMAIL__FROM: "authentik@your.domain" image: "ghcr.io/goauthentik/server:2024.4" logging: driver: journald diff --git a/gitea.yaml b/gitea.yaml index 0cb4e99..20291d3 100644 --- a/gitea.yaml +++ b/gitea.yaml @@ -20,7 +20,7 @@ GITEA__database__USER: "gitea" GITEA__database__PASSWORD__FILE: "/run/secrets/gitea" GITEA__mailer__ENABLED: "true" - GITEA__mailer__FROM: "gitea@turriff.net" + GITEA__mailer__FROM: "gitea@your.domain" GITEA__mailer__PROTOCOL: "smtp+starttls" GITEA__mailer__SMTP_ADDR: "munin.your.domain" GITEA__mailer__SMTP_PORT: "25" diff --git a/lidarr.yaml b/lidarr.yaml index 22c0f19..c10ef2a 100644 --- a/lidarr.yaml +++ b/lidarr.yaml @@ -1,32 +1,3 @@ - deemix: - deploy: - labels: - traefik.enable: "true" - traefik.http.routers.deemix-rtr.entrypoints: "websecure" - traefik.http.routers.deemix-rtr.middlewares: "authentik@swarm" - traefik.http.routers.deemix-rtr.rule: "Host(`deemix.your.domain`)" - traefik.http.routers.deemix-rtr.service: "deemix" - traefik.http.services.deemix.loadbalancer.server.port: "6595" - replicas: 1 - environment: - PUID: 10011 - PGID: 10002 - UMASK: 0002 - TZ: "Etc/UTC" - healthcheck: - test: "curl -f http://localhost:6595" - interval: 2m - timeout: 5s - start_period: 20s - hostname: "deemix" - image: "codefaux/deemix-for-lidarr" - networks: - - homelab - restart: on-failure - volumes: - - "/srv/data/shared/deemix/downloads:/downloads" - - "/srv/data/docker/deemix/config:/deemix-gui/config" - lidarr: deploy: labels: @@ -47,14 +18,16 @@ interval: 2m timeout: 5s start_period: 20s - hostname: "prowlarr" - image: "ghcr.io/hotio/lidarr:pr-plugins" + hostname: "lidarr" + image: "linuxserver/lidarr" networks: - homelab restart: on-failure volumes: - "/srv/data/docker/lidarr/config:/config" - - "/srv/data/shared/deezer:/data/deezer" + - "/srv/data/shared/deemix:/data/deemix" - "/srv/data/shared/usenet:/data/usenet" - "/srv/data/shared/torrent:/data/torrent" - "/srv/data/shared/media:/data/media" + - "/srv/data/docker/lidarr/custom-services.d:/custom-services.d" + - "/srv/data/docker/lidarr/custom-cont-init.d:/custom-cont-init.d" diff --git a/prowlarr.yaml b/prowlarr.yaml index 5b00ec6..ab1c841 100644 --- a/prowlarr.yaml +++ b/prowlarr.yaml @@ -1,27 +1,27 @@ prowlarr: deploy: labels: - traefik.enabled: true + traefik.enable: "true" traefik.http.routers.prowlarr-rtr.entrypoints: "websecure" traefik.http.routers.prowlarr-rtr.middlewares: "authentik@swarm" traefik.http.routers.prowlarr-rtr.rule: "Host(`prowlarr.your.domain`)" traefik.http.routers.prowlarr-rtr.service: "prowlarr" traefik.http.services.prowlarr.loadbalancer.server.port: "9696" replicas: 1 - environment: - PUID: 10009 - PGID: 10009 - UMASK: 0077 - TZ: "Etc/UTC" - healthcheck: - test: "curl -f http://localhost:9696" - interval: 2m - timeout: 5s - start_period: 20s - hostname: "prowlarr" - image: "hotio/prowlarr:latest" - networks: - - homelab - restart: on-failure - volumes: - - "/srv/data/docker/prowlarr/config:/config" + environment: + PUID: 10009 + PGID: 10009 + UMASK: 0002 + TZ: "Etc/UTC" + healthcheck: + test: "curl -f http://localhost:9696" + interval: 2m + timeout: 5s + start_period: 20s + hostname: "prowlarr" + image: "linuxserver/prowlarr:latest" + networks: + - homelab + restart: on-failure + volumes: + - "/srv/data/docker/prowlarr/config:/config" diff --git a/radarr.yaml b/radarr.yaml new file mode 100644 index 0000000..58d016c --- /dev/null +++ b/radarr.yaml @@ -0,0 +1,32 @@ + radarr: + deploy: + labels: + traefik.enable: "true" + traefik.http.routers.radarr-rtr.entrypoints: "websecure" + traefik.http.routers.radarr-rtr.middlewares: "authentik@swarm" + traefik.http.routers.radarr-rtr.rule: "Host(`radarr.your.domain`)" + traefik.http.routers.radarr-rtr.service: "radarr" + traefik.http.services.radarr.loadbalancer.server.port: "7878" + replicas: 1 + environment: + PUID: 10014 + PGID: 10002 + UMASK: 0002 + TZ: "Etc/UTC" + healthcheck: + test: "curl -f http://localhost:7878" + interval: 2m + timeout: 5s + start_period: 20s + hostname: "radarr" + image: "linuxserver/radarr:latest" + networks: + - homelab + restart: on-failure + volumes: + - "/srv/data/docker/radarr/config:/config" + - "/srv/data/shared/usenet:/data/usenet" + - "/srv/data/shared/torrent:/data/torrent" + - "/srv/data/shared/media:/data/media" + - "/srv/data/docker/radarr/custom-cont-init.d:/custom-cont-init.d" + - "/srv/data/docker/radarr/custom-services.d:/custom-services.d" diff --git a/readarr.yaml b/readarr.yaml new file mode 100644 index 0000000..b79d74a --- /dev/null +++ b/readarr.yaml @@ -0,0 +1,32 @@ + readarr: + deploy: + labels: + traefik.enable: "true" + traefik.http.routers.readarr-rtr.entrypoints: "websecure" + traefik.http.routers.readarr-rtr.middlewares: "authentik@swarm" + traefik.http.routers.readarr-rtr.rule: "Host(`readarr.your.domain`)" + traefik.http.routers.readarr-rtr.service: "readarr" + traefik.http.services.readarr.loadbalancer.server.port: "8787" + replicas: 1 + environment: + PUID: 10017 + PGID: 10002 + UMASK: 0002 + TZ: "Etc/UTC" + healthcheck: + test: "curl -f http://localhost:8787" + interval: 2m + timeout: 5s + start_period: 20s + hostname: "readarr" + image: "linuxserver/readarr:develop" + networks: + - homelab + restart: on-failure + volumes: + - "/srv/data/docker/readarr/config:/config" + - "/srv/data/shared/usenet:/data/usenet" + - "/srv/data/shared/torrent:/data/torrent" + - "/srv/data/shared/media:/data/media" + - "/srv/data/docker/readarr/custom-cont-init.d:/custom-cont-init.d" + - "/srv/data/docker/readarr/custom-services.d:/custom-services.d" diff --git a/sonarr.yaml b/sonarr.yaml new file mode 100644 index 0000000..a46ed5e --- /dev/null +++ b/sonarr.yaml @@ -0,0 +1,32 @@ + sonarr: + deploy: + labels: + traefik.enable: "true" + traefik.http.routers.sonarr-rtr.entrypoints: "websecure" + traefik.http.routers.sonarr-rtr.middlewares: "authentik@swarm" + traefik.http.routers.sonarr-rtr.rule: "Host(`sonarr.your.domain`)" + traefik.http.routers.sonarr-rtr.service: "sonarr" + traefik.http.services.sonarr.loadbalancer.server.port: "8989" + replicas: 1 + environment: + PUID: 10013 + PGID: 10002 + UMASK: 0002 + TZ: "Etc/UTC" + healthcheck: + test: "curl -f http://localhost:8989" + interval: 2m + timeout: 5s + start_period: 20s + hostname: "sonarr" + image: "linuxserver/sonarr:latest" + networks: + - homelab + restart: on-failure + volumes: + - "/srv/data/docker/sonarr/config:/config" + - "/srv/data/shared/usenet:/data/usenet" + - "/srv/data/shared/torrent:/data/torrent" + - "/srv/data/shared/media:/data/media" + - "/srv/data/docker/radarr/custom-cont-init.d:/custom-cont-init.d" + - "/srv/data/docker/radarr/custom-services.d:/custom-services.d"