mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
.. | ||
arm | ||
docker-compose.yml | ||
Dockerfile | ||
mpd.conf | ||
README.md |
Music Player Daemon
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.
docker-compose.yml
mpd:
image: vimagick/mpd
ports:
- "6600:6600"
volumes:
- ./music:/var/lib/mpd/music
- ./playlists:/var/lib/mpd/playlists
devices:
- /dev/snd
restart: always
Server Setup
$ mkdir -p music
$ wget -P music https://upload.wikimedia.org/wikipedia/commons/d/d5/Pop_Goes_the_Weasel.ogg
$ docker-compose up -d
Client Setup
- Android: https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid
- Desktop: http://rybczak.net/ncmpcpp/