mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
update cmus
This commit is contained in:
parent
cc6d0cdd75
commit
5054e0d47a
@ -7,9 +7,10 @@ MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN apk add --no-cache cmus
|
||||
|
||||
VOLUME /root/.cmus
|
||||
WORKDIR /root/.cmus
|
||||
VOLUME /etc/cmus
|
||||
WORKDIR /etc/cmus
|
||||
|
||||
ENV CMUS_HOME=/etc/cmus
|
||||
ENV CMUS_SOCKET=0.0.0.0:3000
|
||||
ENV USERNAME=root
|
||||
ENV PASSWORD=secret
|
||||
|
@ -12,7 +12,7 @@ cmus:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/root/.cmus
|
||||
- ./data:/etc/cmus
|
||||
- ~/music:/root/music
|
||||
devices:
|
||||
- /dev/snd
|
||||
@ -36,6 +36,7 @@ $ docker-compose exec cmus cmus-remote --passwd secret
|
||||
>>> set resume=true
|
||||
>>> player-play
|
||||
>>> ^D
|
||||
$ alsamixer
|
||||
```
|
||||
|
||||
[1]: https://cmus.github.io/
|
||||
|
@ -7,9 +7,10 @@ MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN apk add --no-cache cmus
|
||||
|
||||
VOLUME /root/.cmus
|
||||
WORKDIR /root/.cmus
|
||||
VOLUME /etc/cmus
|
||||
WORKDIR /etc/cmus
|
||||
|
||||
ENV CMUS_HOME=/etc/cmus
|
||||
ENV CMUS_SOCKET=0.0.0.0:3000
|
||||
ENV USERNAME=root
|
||||
ENV PASSWORD=secret
|
||||
|
@ -3,7 +3,7 @@ cmus:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/root/.cmus
|
||||
- ./data:/etc/cmus
|
||||
- ~/music:/root/music
|
||||
devices:
|
||||
- /dev/snd
|
||||
|
@ -3,7 +3,7 @@ cmus:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/root/.cmus
|
||||
- ./data:/etc/cmus
|
||||
- ~/music:/root/music
|
||||
devices:
|
||||
- /dev/snd
|
||||
|
Loading…
Reference in New Issue
Block a user