eerste versie
This commit is contained in:
+8
-10
@@ -5,14 +5,11 @@ services:
|
||||
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
|
||||
network_mode: host
|
||||
|
||||
environment:
|
||||
- DISPLAY=${DISPLAY:-:0}
|
||||
- MPV_VO=${MPV_VO:-null} # 'null' ensures stable background test; set to 'gpu' with xhost for video window
|
||||
- MPV_VO=${MPV_VO:-gpu} # 'gpu' for video window, 'null' for headless
|
||||
- MPV_HWDEC=${MPV_HWDEC:-auto} # 'auto', 'vaapi', 'nvdec', or 'no'
|
||||
- MPV_FULLSCREEN=${MPV_FULLSCREEN:-false} # Windowed by default for desktop testing
|
||||
volumes:
|
||||
@@ -20,7 +17,8 @@ services:
|
||||
- ./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
|
||||
# Hardware acceleration devices
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
- /dev/snd:/dev/snd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user