jellyfin/docker-compose.override.yml
2025-06-05 16:12:21 +00:00

44 lines
No EOL
1.4 KiB
YAML

# Override file to disable DLNA port and add any local customizations
services:
jellyfin:
# network_mode: 'host'
ports:
- "${JELLYFIN_PORT_HTTP:-8096}:8096"
- "${JELLYFIN_PORT_HTTPS:-8920}:8920"
- "7359:7359/udp"
# DLNA port (1900) removed via override
volumes:
- cifs-volumes_videos:/media:ro
- ./App/config:/config # Contains plugins, metadata, and server configuration
- ./App/cache:/cache
#
# Optional - extra fonts to be used during transcoding with subtitle burn-in
- /usr/share/fonts:/usr/local/share/fonts/custom:ro
# Add device access for hardware transcoding
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card1:/dev/dri/card1
group_add:
- "${RENDER_GID:-993}" # render group
- "video" # Add video group for card1 access
networks:
npm_network:
aliases:
- jellyfin-backend
environment:
- JELLYFIN_PublishedServerUrl=https://jellyfin.raines.xyz
# Hardware acceleration settings
- JELLYFIN_HardwareAccelerationType=qsv
- JELLYFIN_HardwareDecodingCodecs=["h264", "hevc", "av1", "vp8", "vp9"]
- JELLYFIN_QsvDevice=/dev/dri/renderD128
# Add Known Proxies for nginx proxy manager
- JELLYFIN_Network__KnownProxies=172.21.0.1
user: "${PUID}:${PGID}"
volumes:
cifs-volumes_videos:
external: true
networks:
npm_network:
external: true