adding docker compose for snap-client
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
snapclient:
|
||||||
|
image: sailr/snapclient:latest
|
||||||
|
container_name: snapclient
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: "host"
|
||||||
|
devices:
|
||||||
|
# This line is crucial: it passes the host's audio hardware into the container
|
||||||
|
- "/dev/snd:/dev/snd"
|
||||||
|
environment:
|
||||||
|
# Set the audio group ID to match your host's audio group (usually 29 on Debian/Ubuntu/PiOS)
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=29
|
||||||
|
command: >
|
||||||
|
-h <YOUR_MUSIC_ASSISTANT_IP>
|
||||||
|
--player alsa
|
||||||
|
--soundcard default
|
||||||
Reference in New Issue
Block a user