Files
jellyfin-client/docker-compose.yml
T

27 lines
1.1 KiB
YAML

services:
jellyfin-client:
build:
context: .
dockerfile: Dockerfile
container_name: jellyfin-client
restart: unless-stopped
ports:
- "8080:8080" # Kodi JSON-RPC (Yatse)
- "9090:9090" # Kodi JSON-RPC WebSocket & TCP Socket
- "9777:9777/udp" # Kodi EventServer (UDP)
- "8097:8097" # Web Remote & REST API
environment:
- DISPLAY=${DISPLAY:-:0}
- MPV_VO=${MPV_VO:-null} # 'null' ensures stable background test; set to 'gpu' with xhost for video window
- MPV_HWDEC=${MPV_HWDEC:-auto} # 'auto', 'vaapi', 'nvdec', or 'no'
- MPV_FULLSCREEN=${MPV_FULLSCREEN:-false} # Windowed by default for desktop testing
volumes:
# Optional: Mount custom config.yaml if present
- ./config.yaml:/app/config.yaml:ro
# X11 Display passthrough to show video window on host screen
- /tmp/.X11-unix:/tmp/.X11-unix:ro
# Optional hardware acceleration devices (uncomment if available on Linux host)
# devices:
# - /dev/dri:/dev/dri
# - /dev/snd:/dev/snd