Files
container/jellyfin/docker-compose.yml

21 lines
603 B
YAML

services:
jellyfin:
image: jellyfin/jellyfin:latest
user: "${UID:-1000}:${GID:-1000}" # Optional: Benutzer-ID und Gruppen-ID
ports:
- "${JELLYFIN_PORT:-8096}:8096"
volumes:
- "${CONFIG_DIR:-./config}:/config"
- "${CACHE_DIR:-./cache}:/cache"
- type: bind
source: "${MOVIES_DIR}"
target: /media
read_only: true
- type: bind
source: "${SERIES_DIR}"
target: /media2
read_only: true
restart: unless-stopped
environment:
- TZ=${TZ:-Europe/Berlin}
- JELLYFIN_PublishedServerUrl=${JELLYFIN_URL}