add jellyseerr service

This commit is contained in:
Pim Kunis 2024-02-15 09:27:08 +01:00
parent ef994e472b
commit e24a44bc23
3 changed files with 35 additions and 3 deletions

View file

@ -21,6 +21,11 @@ volumes:
type: "nfs" type: "nfs"
o: "addr=lewis.dmz,nolock,soft,rw" o: "addr=lewis.dmz,nolock,soft,rw"
device: ":/mnt/data/nfs/transmission/config" device: ":/mnt/data/nfs/transmission/config"
jellyseerr_config:
driver_opts:
type: "nfs"
o: "addr=lewis.dmz,nolock,soft,rw"
device: ":/mnt/data/nfs/jellyseerr/config"
jellyfin_cache: jellyfin_cache:
services: services:
@ -58,11 +63,11 @@ services:
- traefik.http.services.jellyfin.loadbalancer.server.port=8096 - traefik.http.services.jellyfin.loadbalancer.server.port=8096
- traefik.docker.network=traefik - traefik.docker.network=traefik
# TODO: port forward torrent ports:
# - 51413:51413
# - 51413:51413/udp
transmission: transmission:
image: lscr.io/linuxserver/transmission:latest image: lscr.io/linuxserver/transmission:latest
ports:
- "{{ bittorrent_port }}:{{ bittorrent_port }}"
- "{{ bittorrent_port }}:{{ bittorrent_port }}/udp"
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
@ -90,3 +95,28 @@ services:
- traefik.http.routers.transmission.service=transmission - traefik.http.routers.transmission.service=transmission
- traefik.http.services.transmission.loadbalancer.server.port=9091 - traefik.http.services.transmission.loadbalancer.server.port=9091
- traefik.docker.network=traefik - traefik.docker.network=traefik
jellyseerr:
image: fallenbagel/jellyseerr:1.7.0
environment:
# TODO: fix log level
- LOG_LEVEL=debug
- TZ=Europe/Amsterdam
volumes:
- type: volume
source: jellyseerr_config
target: /app/config
volume:
nocopy: true
networks:
- traefik
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.jellyseerr.entrypoints=localsecure
- traefik.http.routers.jellyseerr.rule=Host(`jellyseerr.kun.is`)
- traefik.http.routers.jellyseerr.tls=true
- traefik.http.routers.jellyseerr.tls.certresolver=letsencrypt
- traefik.http.routers.jellyseerr.service=jellyseerr
- traefik.http.services.jellyseerr.loadbalancer.server.port=5055
- traefik.docker.network=traefik

View file

@ -0,0 +1 @@
bittorrent_port: 31780

View file

@ -23,6 +23,7 @@ let
"/media/shows" "/media/shows"
"/jellyfin/config" "/jellyfin/config"
"/transmission/config" "/transmission/config"
"/jellyseerr/config"
]; ];
nfsExports = lib.strings.concatLines ( nfsExports = lib.strings.concatLines (