jellyfin/docker-compose.yml aktualisiert
This commit is contained in:
@@ -1,14 +1,25 @@
|
|||||||
services:
|
services:
|
||||||
jellyfin:
|
jellyfin:
|
||||||
image: jellyfin/jellyfin:latest
|
image: jellyfin/jellyfin:latest
|
||||||
user: "${UID:-1000}:${GID:-1000}" # Optional: Benutzer-ID und Gruppen-ID
|
user: "${UID:-1000}:${GID:-1000}"
|
||||||
ports:
|
network_mode: 'host'
|
||||||
- "${JELLYFIN_PORT:-8096}:8096"
|
|
||||||
volumes:
|
volumes:
|
||||||
- "${CONFIG_DIR:-./config}:/config"
|
- ${CONFIG_DIR:-/srv/jellyfin/config}:/config
|
||||||
- "${CACHE_DIR:-./cache}:/cache"
|
- ${CACHE_DIR:-/srv/jellyfin/cache}:/cache
|
||||||
- "${MOVIES_DIR}:/media"
|
- type: bind
|
||||||
- "${SERIES_DIR}:/media2"
|
source: ${MOVIES_DIR:-/mnt/media1}
|
||||||
restart: unless-stopped
|
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'
|
||||||
environment:
|
environment:
|
||||||
|
- JELLYFIN_PublishedServerUrl=${JELLYFIN_URL}
|
||||||
- TZ=${TZ:-Europe/Berlin}
|
- TZ=${TZ:-Europe/Berlin}
|
||||||
|
extra_hosts:
|
||||||
|
- 'host.docker.internal:host-gateway'
|
||||||
|
|||||||
Reference in New Issue
Block a user