Initial commit — Proxmox SPICE Client (Electron)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
vdi-client:
|
||||
build: .
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- DISPLAY=${DISPLAY:-:0}
|
||||
- ELECTRON_DISABLE_SANDBOX=1
|
||||
# PulseAudio-Server (optional, für Audio in der VM)
|
||||
- PULSE_SERVER=unix:/run/pulse/socket
|
||||
volumes:
|
||||
# X11-Display des Hosts einbinden
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
||||
# Persistente App-Daten (gespeicherte Zugangsdaten, Einstellungen)
|
||||
- ./daten:/root/.config/proxmox-spice-client:rw
|
||||
# PulseAudio-Socket (optional — auskommentieren wenn kein Audio nötig)
|
||||
- /run/user/${PULSE_UID:-1000}/pulse:/run/pulse:ro
|
||||
devices:
|
||||
# GPU-Beschleunigung (optional — auskommentieren wenn nicht vorhanden)
|
||||
- /dev/dri:/dev/dri
|
||||
# Host-Netzwerk: remote-viewer muss SPICE-Port auf Proxmox direkt erreichen
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
# Damit USB-Redirect funktioniert braucht remote-viewer Zugriff auf USB
|
||||
privileged: false
|
||||
group_add:
|
||||
- video
|
||||
Reference in New Issue
Block a user