feat(audio): add audio server

This commit is contained in:
2026-07-06 19:33:25 +02:00
parent 122e0fb932
commit 489d7c645b
4 changed files with 73 additions and 0 deletions
+18
View File
@@ -16,15 +16,28 @@ services:
environment:
- DISPLAY=:0
audio-manager:
build: ./audio-manager
restart: always
privileged: true # Required for proper ALSA/Hardware audio access in some setups
ports:
- "8080:8080"
volumes:
- pulse-socket:/tmp/pulse
devices:
- "/dev/snd:/dev/snd"
kiosk-1:
build: ./kiosk
restart: always
depends_on:
- display-manager
- audio-manager
ports:
- "5011:5011"
volumes:
- x11-socket:/tmp/.X11-unix
- pulse-socket:/tmp/pulse
devices:
- "/dev/dri:/dev/dri"
environment:
@@ -34,16 +47,19 @@ services:
- LAUNCH_URL=https://github.com
- KIOSK=1
- GPU=1
- PULSE_SERVER=unix:/tmp/pulse/native
kiosk-2:
build: ./kiosk
restart: always
depends_on:
- display-manager
- audio-manager
ports:
- "5012:5012"
volumes:
- x11-socket:/tmp/.X11-unix
- pulse-socket:/tmp/pulse
devices:
- "/dev/dri:/dev/dri"
environment:
@@ -53,6 +69,8 @@ services:
- LAUNCH_URL=https://google.com
- KIOSK=1
- GPU=1
- PULSE_SERVER=unix:/tmp/pulse/native
volumes:
x11-socket:
pulse-socket: