Ameinias server ala Docker

Ameinias 3.0.4 is now available for docker hosts, with docker images for ices2 and icecast2, making it a complete web-based audio playback “solution”. Whee. It’s now running on my dedicated jukebox machine at the house and that’s awesome.

All you need is a docker host, three run scripts, and a huge load of audio files to play.

My install is pretty simple. mp3 files are on a network share as /var/mp3, and I store the config files in /var/ameinias:

mkdir /var/ameinias
docker run -d --restart=always \
    --name ameinias \
    -p 80:7076 \
    -v /var/ameinias:/adata \
    -v /var/mp3:/mp3 \
    tekhedd/ameinias:3.0.4

# There is no tagged version for the icecast/ices builds
# because the builds retrieve the 'latest' version of the tools
docker run -d --restart=always \
    --name ameinias-icecast2 \
    --volumes-from ameinias \
    -p 8000:8000 \
    tekhedd/ameinias-icecast2:latest

docker run -d --restart=always \
    --name ameinias-ices2 \
    --link ameinias-icecast2:icecastserver \
    --volumes-from ameinias \
    tekhedd/ameinias-ices2

You change the passwords in /var/ameinias/ices2.xml and icecast.xml, and you’re good to go. Well, the permissions might be wrong and you might have to look at the stdout to see what’s up,.. but if you’re looking for a docker-based player you know what to do.

Leave a Reply

You must be logged in to post a comment.