jellyfin/docker-compose.yml aktualisiert

This commit is contained in:
2025-07-02 18:02:27 +00:00
parent 8bf1c69e30
commit b60ecdb4ee

View File

@@ -1,25 +1,15 @@
services: services:
jellyfin: jellyfin:
image: jellyfin/jellyfin:latest image: jellyfin/jellyfin:latest
user: "${UID:-1000}:${GID:-1000}" user: "${UID:-1000}:${GID:-1000}" # Optional: Benutzer-ID und Gruppen-ID
network_mode: 'host' ports:
- "${JELLYFIN_PORT:-8096}:8096"
volumes: volumes:
- ${CONFIG_DIR:-/srv/jellyfin/config}:/config - "${CONFIG_DIR:-./config}:/config"
- ${CACHE_DIR:-/srv/jellyfin/cache}:/cache - "${CACHE_DIR:-./cache}:/cache"
- type: bind - "${MOVIES_DIR}:/media"
source: ${MOVIES_DIR:-/mnt/media1} - "${SERIES_DIR}:/media"
target: /media restart: unless-stopped
- type: bind
source: ${SERIES_DIR:-/mnt/media2}
target: /media2
read_only: true
- type: bind
source: ${FONTS_DIR:-/usr/share/fonts/custom}
target: /usr/local/share/fonts/custom
read_only: true
restart: 'unless-stopped'
environment: environment:
- JELLYFIN_PublishedServerUrl=${JELLYFIN_URL}
- TZ=${TZ:-Europe/Berlin} - TZ=${TZ:-Europe/Berlin}
extra_hosts: - JELLYFIN_PublishedServerUrl=${JELLYFIN_URL}
- 'host.docker.internal:host-gateway'