Skip to content

Commit 2b54b74

Browse files
committed
update Docker files
1 parent ca428a3 commit 2b54b74

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN apk update && 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", "--state", "/state", "--config", "/config/config.yaml"]

docker-compose.pulse.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ services:
55
network_mode: host
66
userns_mode: keep-id
77
volumes:
8+
- ~/.local/state/go-librespot:/state
89
- ~/.config/go-librespot:/config
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)