audio-bridge: custom pipewire-pulse.conf with TCP 4713 listener

Alpine's pipewire-pulse binary is stripped (-a option removed); the
only way to configure listening address is via config file. Add
/etc/pipewire/pipewire-pulse.conf that overrides server.address to
include tcp:4713 alongside the default unix:native socket.

Server addresses now:
- unix:native (for in-container clients)
- tcp:4713 (for sibling containers connecting via PULSE_SERVER env var)
This commit is contained in:
2026-07-01 07:14:20 -07:00
parent 6c896f5165
commit fff67f2baa
3 changed files with 17 additions and 4 deletions
+4 -4
View File
@@ -38,8 +38,8 @@ sleep 1
# PipeWire (audio server). Listens on its own native socket.
pipewire &
# PipeWire-Pulse daemon: PA-compatible bridge. Listen on TCP 4713 so PA clients
# (librespot, mopidy) can connect from sibling containers without unix socket
# path coupling.
# PipeWire-Pulse daemon: PA-compatible bridge. Custom config in
# /etc/pipewire/pipewire-pulse.conf sets server.address = [unix:native, tcp:4713]
# so PA clients (librespot, mopidy) connect via tcp:127.0.0.1:4713.
sleep 1
exec pipewire-pulse -a tcp:4713 -a unix:/tmp/pulse-socket
exec pipewire-pulse