From 5054e0d47abc94c92e25232806edab6a7a91b002 Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 29 Apr 2017 12:04:18 +0800 Subject: [PATCH] update cmus --- cmus/Dockerfile | 5 +++-- cmus/README.md | 3 ++- cmus/arm/Dockerfile | 5 +++-- cmus/arm/docker-compose.yml | 2 +- cmus/docker-compose.yml | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/cmus/Dockerfile b/cmus/Dockerfile index 685cf32..46c154a 100644 --- a/cmus/Dockerfile +++ b/cmus/Dockerfile @@ -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 diff --git a/cmus/README.md b/cmus/README.md index 0b279d9..e59c48b 100644 --- a/cmus/README.md +++ b/cmus/README.md @@ -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/ diff --git a/cmus/arm/Dockerfile b/cmus/arm/Dockerfile index e5e6272..06441e2 100644 --- a/cmus/arm/Dockerfile +++ b/cmus/arm/Dockerfile @@ -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 diff --git a/cmus/arm/docker-compose.yml b/cmus/arm/docker-compose.yml index 88c1fb0..7da34f6 100644 --- a/cmus/arm/docker-compose.yml +++ b/cmus/arm/docker-compose.yml @@ -3,7 +3,7 @@ cmus: ports: - "3000:3000" volumes: - - ./data:/root/.cmus + - ./data:/etc/cmus - ~/music:/root/music devices: - /dev/snd diff --git a/cmus/docker-compose.yml b/cmus/docker-compose.yml index 9f356bf..80bf5e0 100644 --- a/cmus/docker-compose.yml +++ b/cmus/docker-compose.yml @@ -3,7 +3,7 @@ cmus: ports: - "3000:3000" volumes: - - ./data:/root/.cmus + - ./data:/etc/cmus - ~/music:/root/music devices: - /dev/snd