Skip to content

Commit c2cf6a2

Browse files
committed
update Docker files
1 parent 00ab4dd commit c2cf6a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN apk -U --no-cache add libpulse avahi libgcc gcompat alsa-lib
1616

1717
COPY --from=build /src/daemon /usr/bin/go-librespot
1818

19-
CMD ["/usr/bin/go-librespot", "--config_dir", "/config"]
19+
CMD ["/usr/bin/go-librespot", "--cache", "/cache", "--config", "/config/config.yaml"]

docker-compose.pulse.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ services:
66
userns_mode: keep-id
77
volumes:
88
- ~/.config/go-librespot:/config
9+
- ~/.cache/go-librespot:/cache
910
- ~/.config/pulse/cookie:/pulse_cookie:ro
1011
- /run/user/1000/pulse/native:/pulse_native # Replace 1000 with your UID
1112
environment:
1213
PULSE_SERVER: "unix:/pulse_native"
13-
PULSE_COOKIE: "/pulse_cookie"
14+
PULSE_COOKIE: "/pulse_cookie"

0 commit comments

Comments
 (0)