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:
+2
-8
@@ -101,7 +101,7 @@ services:
|
||||
- NET_ADMIN
|
||||
|
||||
# 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).
|
||||
librespot:
|
||||
build: ./librespot
|
||||
@@ -111,13 +111,7 @@ services:
|
||||
depends_on:
|
||||
- audio-bridge
|
||||
network_mode: host
|
||||
command: >
|
||||
--name "Klubhaus"
|
||||
--backend pulseaudio
|
||||
--bitrate 320
|
||||
--initial-volume 100
|
||||
--enable-audio-cache
|
||||
--cache /var/cache/librespot
|
||||
# CMD is set in Dockerfile; do not override here.
|
||||
volumes:
|
||||
- librespot_cache:/var/cache/librespot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user