This is an image for my favorite music server application MPD. Using alpine as Cthe operating system.
This image is configured to use with Icecast as streaming output. You can edit the mpd.conf or use the fully audio stack I created. Check below about docker-music-stack
How to use
You can create volumes for your music, playlists and/or database, or use host volumes instead, you need to replace
your_SOMETHING_volume with your host path or own volume.
docker run -d -p 6600:6600 \ -v your_music_volume:/var/lib/mpd/music \ -v your_playlists_volume:/var/lib/mpd/playlists \ -v your_database_volume:/var/lib/mpd/database \ --name mpd vitiman/alpine-mpd:latest
An instance of mpd is now running with the port 6600 mapped to your host or docker-machine IP address.
Check the repository and you will find an
mpd.conf you can edit and set your custom configuration. You just need to build the image again.
The passwords in the current configuration are just for testing purposes.
I've made a group of images for a full music-stack fully working.
- mpd My favorite music server application
- icecast: To stream the audio over the world
- sima: Autoqueue client. Never stop listen!
- ympd: A minimal Web GUI.
Check the Github repository or the rest of images in Docker Hub. There is a docker-compose to setup everything.
You have two options to execute all the stack, using docker-compose or
launching the containers one-by-one, your choice.
The default access to applications are:
- icecast streaming:
- ympd gui:
Clone this repo. Edit docker-compose.yml and add your host volumes for your music, playlists and/or database, then:
docker-compose up -d
Container by container, separatelly
Create a bridge network
docker network create --name music_stack
docker run -p 8000:8000 --net music_stack --name=icecast -d vitiman/alpine-icecast:latest
Use host volumes or create your own volumes for your music, playlists and/or database
docker run -d -p 6600:6600 --net music_stack \ -v your_music_volume:/var/lib/mpd/music \ -v your_playlists_volume:/var/lib/mpd/playlists \ -v your_database_volume:/var/lib/mpd/database \ --name mpd vitiman/alpine-mpd:latest
(Optional) Run sima
docker run --net music_stack --name=sima -d vitiman/alpine-sima:latest
(Optional) Run ympd
docker run -p 8080:8080 --net music_stack --name=ympd -d vitiman/alpine-ympd:latest