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:
jellyfin:
image: jellyfin/jellyfin:latest
user: "${UID:-1000}:${GID:-1000}"
network_mode: 'host'
user: "${UID:-1000}:${GID:-1000}" # Optional: Benutzer-ID und Gruppen-ID
ports:
- "${JELLYFIN_PORT:-8096}:8096"
volumes:
- ${CONFIG_DIR:-/srv/jellyfin/config}:/config
- ${CACHE_DIR:-/srv/jellyfin/cache}:/cache
- type: bind
source: ${MOVIES_DIR:-/mnt/media1}
target: /media
- 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'
- "${CONFIG_DIR:-./config}:/config"
- "${CACHE_DIR:-./cache}:/cache"
- "${MOVIES_DIR}:/media"
- "${SERIES_DIR}:/media"
restart: unless-stopped
environment:
- JELLYFIN_PublishedServerUrl=${JELLYFIN_URL}
- TZ=${TZ:-Europe/Berlin}
extra_hosts:
- 'host.docker.internal:host-gateway'
- JELLYFIN_PublishedServerUrl=${JELLYFIN_URL}