librespot: remove conflicting command override (Dockerfile CMD is enough)

compose.yaml command: > syntax was being parsed as '--name' being the
executable, not an arg to librespot. Use Dockerfile CMD instead which
already includes the right args.
This commit is contained in:
2026-07-01 07:23:45 -07:00
parent 134fd4a0ed
commit 131aa9d698
+2 -8
View File
@@ -101,7 +101,7 @@ services:
- NET_ADMIN - NET_ADMIN
# Spotify Connect: phone's Spotify app shows "Klubhaus" as a Connect target. # Spotify Connect: phone's Spotify app shows "Klubhaus" as a Connect target.
# Outputs audio to audio-bridge via PulseAudio (localhost:4713). # Outputs audio to audio-bridge via PulseAudio (TCP localhost:4713).
# Built locally on RPi (cross-compile is too slow under qemu). # Built locally on RPi (cross-compile is too slow under qemu).
librespot: librespot:
build: ./librespot build: ./librespot
@@ -111,13 +111,7 @@ services:
depends_on: depends_on:
- audio-bridge - audio-bridge
network_mode: host network_mode: host
command: > # CMD is set in Dockerfile; do not override here.
--name "Klubhaus"
--backend pulseaudio
--bitrate 320
--initial-volume 100
--enable-audio-cache
--cache /var/cache/librespot
volumes: volumes:
- librespot_cache:/var/cache/librespot - librespot_cache:/var/cache/librespot