1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

update cmus

This commit is contained in:
kev 2017-04-29 12:04:18 +08:00
parent cc6d0cdd75
commit 5054e0d47a
5 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -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/

View File

@ -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

View File

@ -3,7 +3,7 @@ cmus:
ports:
- "3000:3000"
volumes:
- ./data:/root/.cmus
- ./data:/etc/cmus
- ~/music:/root/music
devices:
- /dev/snd

View File

@ -3,7 +3,7 @@ cmus:
ports:
- "3000:3000"
volumes:
- ./data:/root/.cmus
- ./data:/etc/cmus
- ~/music:/root/music
devices:
- /dev/snd