31 lines
817 B
YAML
31 lines
817 B
YAML
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
group_add:
|
|
- '107' #render
|
|
- '44' #video
|
|
volumes:
|
|
- ${VOLUMES_PATH}/jellyfin/config:/config
|
|
- ${VOLUMES_PATH}/jellyfin/cache:/cache
|
|
- type: bind
|
|
source: ${SERIEN_PATH}
|
|
target: /media/series
|
|
- type: bind
|
|
source: ${FILME_PATH}
|
|
target: /media/movies
|
|
- type: bind
|
|
source: ${MUSIK_PATH}
|
|
target: /media/music
|
|
environment:
|
|
- JELLYFIN_PublishedServerUrl=http://jellyfin.${DOMAIN}
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
|
|
# devices:
|
|
# # VAAPI Devices
|
|
# - /dev/dri/renderD128:/dev/dri/renderD128
|
|
# - /dev/dri/card0:/dev/dri/card0
|
|
labels:
|
|
- "docker.group=media"
|