This repository contains a docker-compose.yml file that runs 3 containers:
mpd- Music Player Daemonympd- MPD Web UIsnapcast- SnapCast server
They are all based on Alpine linux - ideal for running on a NAS, or anything that can run Docker.
mpd outputs audio to a named pipe mpdstate/snapfifo which is also mounted into the snapcast container, which reads from there. mpd also stores its database and playlists in mpdstate. A run.sh script is included to automate the setup process.
dockerdocker-composesnapclientinstalled locally- Some music
- Copy the file
example.envto.envand edit it as required. - Execute
./run.shand ensure that all the containers are healthy viadocker-compose ps. - Open
http://$HOSTNAME:8080(or whatever you changedYMPD_PORTto) and queue up some music - Run
snapclient -h $HOSTand enjoy. - Alternatively, open
http://localhost:6680/mpd.oggin your preferred music player (vlcworks perfectly).
- skalavala's writeup
- vimagick's mpd Dockerfile
- VITIMan's docker-music-stack
- Probably many others
MRs are welcome!