2023-01-31 21:24:56 +01:00
|
|
|
services:
|
|
|
|
jellyfin:
|
|
|
|
image: jellyfin/jellyfin:latest
|
|
|
|
network_mode: host
|
|
|
|
restart: unless-stopped
|
2024-10-02 15:55:54 +02:00
|
|
|
group_add:
|
2023-01-31 21:24:56 +01:00
|
|
|
- '107' #render
|
|
|
|
- '44' #video
|
|
|
|
volumes:
|
|
|
|
- ${VOLUMES_PATH}/jellyfin/config:/config
|
|
|
|
- ${VOLUMES_PATH}/jellyfin/cache:/cache
|
2024-10-02 15:55:54 +02:00
|
|
|
- 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'
|
|
|
|
|
2023-12-05 14:26:05 +01:00
|
|
|
# devices:
|
|
|
|
# # VAAPI Devices
|
|
|
|
# - /dev/dri/renderD128:/dev/dri/renderD128
|
|
|
|
# - /dev/dri/card0:/dev/dri/card0
|
2023-01-31 21:24:56 +01:00
|
|
|
labels:
|
|
|
|
- "docker.group=media"
|