18 lines
495 B
YAML
18 lines
495 B
YAML
services:
|
|
snapclient:
|
|
image: sailr/snapclient:latest
|
|
container_name: snapclient
|
|
hostname: kitchen-speaker # Sets the display name reported to the server
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
devices:
|
|
- "/dev/snd:/dev/snd"
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=29
|
|
command: >
|
|
-h <YOUR_MUSIC_ASSISTANT_IP>
|
|
--player alsa
|
|
--soundcard default
|
|
--hostID kitchen-pi-zero # Forces a unique fixed MAC/ID for the server to track
|