1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
dockerfiles/cmus
2017-04-29 12:04:18 +08:00
..
arm update cmus 2017-04-29 12:04:18 +08:00
docker-compose.yml update cmus 2017-04-29 12:04:18 +08:00
Dockerfile update cmus 2017-04-29 12:04:18 +08:00
README.md update cmus 2017-04-29 12:04:18 +08:00

cmus

cmus is a small, fast and powerful console music player for Unix-like operating systems.

docker-compose.yml

cmus:
  image: vimagick/cmus
  ports:
    - "3000:3000"
  volumes:
    - ./data:/etc/cmus
    - ~/music:/root/music
  devices:
    - /dev/snd
  environment:
    - PASSWORD=secret
  tty: yes
  restart: unless-stopped

up and running

$ docker-compose up -d
$ docker-compose exec cmus cmus-remote --help
$ docker-compose exec cmus cmus-remote --passwd secret
>>> clear
>>> add ~/music
>>> set continue=true
>>> set repeat=true
>>> set shuffle=true
>>> set resume=true
>>> player-play
>>> ^D
$ alsamixer