Media Server Pt 7

This commit is contained in:
Andreas S. Turriff 2024-06-19 09:50:11 -07:00
parent 5365a7ce48
commit 51c80a4e2c
7 changed files with 122 additions and 53 deletions

View File

@ -21,7 +21,7 @@
AUTHENTIK_REDIS__HOST: "valkey" AUTHENTIK_REDIS__HOST: "valkey"
AUTHENTIK_SECRET_KEY: "file:///run/secrets/authentik-secret" AUTHENTIK_SECRET_KEY: "file:///run/secrets/authentik-secret"
AUTHENTIK_EMAIL__HOST: "munin.your.domain" AUTHENTIK_EMAIL__HOST: "munin.your.domain"
AUTHENTIK_EMAIL__FROM: "authentik@turriff.net" AUTHENTIK_EMAIL__FROM: "authentik@your.domain"
hostname: "authentik-server" hostname: "authentik-server"
image: "ghcr.io/goauthentik/server:2024.4" image: "ghcr.io/goauthentik/server:2024.4"
logging: logging:
@ -52,7 +52,7 @@
AUTHENTIK_REDIS__HOST: "valkey" AUTHENTIK_REDIS__HOST: "valkey"
AUTHENTIK_SECRET_KEY: "file:///run/secrets/authentik-secret" AUTHENTIK_SECRET_KEY: "file:///run/secrets/authentik-secret"
AUTHENTIK_EMAIL__HOST: "munin.your.domain" 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" image: "ghcr.io/goauthentik/server:2024.4"
logging: logging:
driver: journald driver: journald

View File

@ -20,7 +20,7 @@
GITEA__database__USER: "gitea" GITEA__database__USER: "gitea"
GITEA__database__PASSWORD__FILE: "/run/secrets/gitea" GITEA__database__PASSWORD__FILE: "/run/secrets/gitea"
GITEA__mailer__ENABLED: "true" GITEA__mailer__ENABLED: "true"
GITEA__mailer__FROM: "gitea@turriff.net" GITEA__mailer__FROM: "gitea@your.domain"
GITEA__mailer__PROTOCOL: "smtp+starttls" GITEA__mailer__PROTOCOL: "smtp+starttls"
GITEA__mailer__SMTP_ADDR: "munin.your.domain" GITEA__mailer__SMTP_ADDR: "munin.your.domain"
GITEA__mailer__SMTP_PORT: "25" GITEA__mailer__SMTP_PORT: "25"

View File

@ -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: lidarr:
deploy: deploy:
labels: labels:
@ -47,14 +18,16 @@
interval: 2m interval: 2m
timeout: 5s timeout: 5s
start_period: 20s start_period: 20s
hostname: "prowlarr" hostname: "lidarr"
image: "ghcr.io/hotio/lidarr:pr-plugins" image: "linuxserver/lidarr"
networks: networks:
- homelab - homelab
restart: on-failure restart: on-failure
volumes: volumes:
- "/srv/data/docker/lidarr/config:/config" - "/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/usenet:/data/usenet"
- "/srv/data/shared/torrent:/data/torrent" - "/srv/data/shared/torrent:/data/torrent"
- "/srv/data/shared/media:/data/media" - "/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"

View File

@ -1,27 +1,27 @@
prowlarr: prowlarr:
deploy: deploy:
labels: labels:
traefik.enabled: true traefik.enable: "true"
traefik.http.routers.prowlarr-rtr.entrypoints: "websecure" traefik.http.routers.prowlarr-rtr.entrypoints: "websecure"
traefik.http.routers.prowlarr-rtr.middlewares: "authentik@swarm" traefik.http.routers.prowlarr-rtr.middlewares: "authentik@swarm"
traefik.http.routers.prowlarr-rtr.rule: "Host(`prowlarr.your.domain`)" traefik.http.routers.prowlarr-rtr.rule: "Host(`prowlarr.your.domain`)"
traefik.http.routers.prowlarr-rtr.service: "prowlarr" traefik.http.routers.prowlarr-rtr.service: "prowlarr"
traefik.http.services.prowlarr.loadbalancer.server.port: "9696" traefik.http.services.prowlarr.loadbalancer.server.port: "9696"
replicas: 1 replicas: 1
environment: environment:
PUID: 10009 PUID: 10009
PGID: 10009 PGID: 10009
UMASK: 0077 UMASK: 0002
TZ: "Etc/UTC" TZ: "Etc/UTC"
healthcheck: healthcheck:
test: "curl -f http://localhost:9696" test: "curl -f http://localhost:9696"
interval: 2m interval: 2m
timeout: 5s timeout: 5s
start_period: 20s start_period: 20s
hostname: "prowlarr" hostname: "prowlarr"
image: "hotio/prowlarr:latest" image: "linuxserver/prowlarr:latest"
networks: networks:
- homelab - homelab
restart: on-failure restart: on-failure
volumes: volumes:
- "/srv/data/docker/prowlarr/config:/config" - "/srv/data/docker/prowlarr/config:/config"

32
radarr.yaml Normal file
View File

@ -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"

32
readarr.yaml Normal file
View File

@ -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"

32
sonarr.yaml Normal file
View File

@ -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"