services: musix-mpv-client: container_name: mpv-client volumes: # Mounts your host's PulseAudio/PipeWire socket into the container - /run/user/${HOST_UID:-1000}/pulse/native:/tmp/pulse-socket environment: - PULSE_SERVER=unix:/tmp/pulse-socket - PIPEWIRE_RUNTIME_DIR=/tmp - MUSIX.CLIENT.IP=127.0.0.1 - MUSIX.CLIENT.PORT=8081 - MUSIX.SERVER.IP=127.0.0.1 - MUSIX.SERVER.PORT=8080 - SERVER.PORT=8081 user: "${UID:-1000}:${GID:-1000}" image: musix-mpv-client:0.0.1 network_mode: host devices: # Grants access to the host sound card hardware - /dev/snd:/dev/snd