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:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.jellyfin.rule=Host(`jellyfin.${DOMAIN}`)"
|
|
|
|
- "traefik.http.routers.jellyfin.entrypoints=web"
|
|
|
|
- "traefik.http.services.jellyfin.loadbalancer.server.port=8096"
|
|
|
|
- 'traefik.http.middlewares.jellyfin-mw.headers.customResponseHeaders.X-Robots-Tag=noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex'
|
|
|
|
- 'traefik.http.middlewares.jellyfin-mw.headers.frameDeny=true'
|
|
|
|
- 'traefik.http.middlewares.jellyfin-mw.headers.contentTypeNosniff=true'
|
2024-10-02 15:55:54 +02:00
|
|
|
- 'traefik.http.middlewares.jellyfin-mw.headers.customresponseheaders.X-XSS-PROTECTION=1'
|
2023-01-31 21:24:56 +01:00
|
|
|
- 'traefik.http.middlewares.jellyfin-mw.headers.browserXSSFilter=true'
|
|
|
|
- "traefik.http.middlewares.jellyfin-mw.headers.customFrameOptionsValue='allow-from http://jellyfin.${DOMAIN}'"
|
2024-10-02 15:55:54 +02:00
|
|
|
- "traefik.http.middlewares.jellyfin-mw.headers.customrequestheaders.X-Forwarded-Proto: https"
|
2023-01-31 21:24:56 +01:00
|
|
|
- 'traefik.http.routers.jellyfin.middlewares=jellyfin-mw'
|
|
|
|
- "docker.group=media"
|