add bazzar to media stack

This commit is contained in:
Pim Kunis 2024-02-24 21:45:29 +01:00
parent 0d2952c006
commit aa57171eda
3 changed files with 37 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
.direnv .direnv
.terraform.lock.hcl .terraform.lock.hcl
.terraform .terraform
.deploy-gc/

View file

@ -41,6 +41,11 @@ volumes:
type: "nfs" type: "nfs"
o: "addr=lewis.dmz,nolock,soft,rw" o: "addr=lewis.dmz,nolock,soft,rw"
device: ":/mnt/data/nfs/prowlarr/config" device: ":/mnt/data/nfs/prowlarr/config"
bazarr_config:
driver_opts:
type: "nfs"
o: "addr=lewis.dmz,nolock,soft,rw"
device: ":/mnt/data/nfs/bazarr/config"
jellyfin_cache: jellyfin_cache:
services: services:
@ -220,3 +225,33 @@ services:
- traefik.http.routers.sonarr.service=sonarr - traefik.http.routers.sonarr.service=sonarr
- traefik.http.services.sonarr.loadbalancer.server.port=8989 - traefik.http.services.sonarr.loadbalancer.server.port=8989
- traefik.docker.network=traefik - traefik.docker.network=traefik
bazarr:
image: lscr.io/linuxserver/bazarr:latest
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- type: volume
source: bazarr_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.bazarr.entrypoints=localsecure
- traefik.http.routers.bazarr.rule=Host(`bazarr.kun.is`)
- traefik.http.routers.bazarr.tls=true
- traefik.http.routers.bazarr.tls.certresolver=letsencrypt
- traefik.http.routers.bazarr.service=bazarr
- traefik.http.services.bazarr.loadbalancer.server.port=6767
- traefik.docker.network=traefik

View file

@ -27,6 +27,7 @@ let
"/radarr/config" "/radarr/config"
"/prowlarr/config" "/prowlarr/config"
"/sonarr/config" "/sonarr/config"
"/bazarr/config"
]; ];
nfsExports = lib.strings.concatLines ( nfsExports = lib.strings.concatLines (