migrate sonarr to kubernetes

This commit is contained in:
Pim Kunis 2024-04-06 17:47:49 +02:00
parent 100af46f88
commit 81eacbcfcb
3 changed files with 115 additions and 55 deletions

View file

@ -49,61 +49,6 @@ volumes:
jellyfin_cache:
services:
# prowlarr:
# image: lscr.io/linuxserver/prowlarr:latest
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=Europe/Amsterdam
# volumes:
# - type: volume
# source: prowlarr_config
# target: /config
# volume:
# nocopy: true
# networks:
# - traefik
# deploy:
# labels:
# - traefik.enable=true
# - traefik.http.routers.prowlarr.entrypoints=localsecure
# - traefik.http.routers.prowlarr.rule=Host(`prowlarr.kun.is`)
# - traefik.http.routers.prowlarr.tls=true
# - traefik.http.routers.prowlarr.tls.certresolver=letsencrypt
# - traefik.http.routers.prowlarr.service=prowlarr
# - traefik.http.services.prowlarr.loadbalancer.server.port=9696
# - traefik.docker.network=traefik
sonarr:
image: lscr.io/linuxserver/sonarr:latest
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- type: volume
source: sonarr_config
target: /config
volume:
nocopy: true
- type: volume
source: media
target: /media
volume:
nocopy: true
networks:
- traefik
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.sonarr.entrypoints=localsecure
- traefik.http.routers.sonarr.rule=Host(`sonarr.kun.is`)
- traefik.http.routers.sonarr.tls=true
- traefik.http.routers.sonarr.tls.certresolver=letsencrypt
- traefik.http.routers.sonarr.service=sonarr
- traefik.http.services.sonarr.loadbalancer.server.port=8989
- traefik.docker.network=traefik
bazarr:
image: lscr.io/linuxserver/bazarr:latest
environment:

View file

@ -150,6 +150,12 @@ services:
- traefik.http.routers.prowlarr.rule=Host(`prowlarr.kun.is`)
- traefik.http.routers.prowlarr.tls=true
- traefik.http.routers.prowlarr.tls.certresolver=letsencrypt
- traefik.http.routers.sonarr.entrypoints=localsecure
- traefik.http.routers.sonarr.service=k3s@file
- traefik.http.routers.sonarr.rule=Host(`sonarr.kun.is`)
- traefik.http.routers.sonarr.tls=true
- traefik.http.routers.sonarr.tls.certresolver=letsencrypt
volumes:
- type: bind
source: /var/run/docker.sock