updated jellyfin

This commit is contained in:
Jakub Kropáček 2024-03-23 20:59:17 +01:00
parent e2c7ef07fb
commit 7d73e16a5c
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,2 @@
HOST=
ENTRYPOINTS=

View file

@ -0,0 +1,31 @@
volumes:
jellyfin-cache:
name: jellyfin-cache
networks:
traefik-net:
external: true
name: traefik-net
services:
jellyfin:
image: jellyfin/jellyfin:stable
volumes:
- type: bind
source: ${MEDIA_PATH}
target: /media
read_only: true
- jellyfin-cache:/cache
environment:
- JELLYFIN_PublishedServerUrl=https://${HOST}
networks:
- traefik-net
- default
deploy:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-net
- traefik.http.routers.ntfy.rule=Host(`${HOST}`)
- traefik.http.routers.ntfy.entrypoints=${ENTRYPOINTS:-websecure}
- traefik.http.routers.ntfy.tls.certresolver=le
- traefik.http.services.ntfy.loadbalancer.server.port=80