docker_compose-audiostation icon indicating copy to clipboard operation
docker_compose-audiostation copied to clipboard

Multiroom Audiosolution as Docker compose Project for amd64 and rpi

Audiostation Docker

Network Audio Player with Mopidy,SnapCast and upmpdcli.

Use tkem/mopidy-dleyna to load the Music from external Devices with DLNA support.
Use UPnP for receiving the Music from Mobile Devices (BubbleUPnP) or other clients.

I am using a HiFiBerry Digi+ as additional sound card for my RPI2. The RPI are connected with TOSLink to my Denon Audio Revceiver

To Start the docker Contaieners on RPI i use hypriot as base System image.

Starting

Use for starting use on RPI

docker-compose -f docker-compose-rpi.yml up

and on classic amd64 Systems

docker-compose -f docker-compose.yml up

after the containers are running you can open http://localhost:6680 and use the Mopdiy webfrontend.

don`t forget Mopidy has a HTTP JSON-RPC API and can be integrated to home-assistant.io.

Tested Android UPnP Apps

  • BubbleUPnP, works so good that i bought the Full Version, and did not test more apps.

Structure

You can find the used Dockerfiles at the GitHub repositories: docker-snapcast, docker-mopidy and docker-upmpdcli

Used Dockerimages

The Connection between the Moidy Container and the SnapCast Server runs over a gstreamer fifo file, configured as output in Mopidy.

...
[audio]
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/sharesound/snapfifo
...

form snapcast player setup

On Docker the fifo file will be create by a data container, all three containers share a volume which contains the shared file.

Docker Hub Used Images

amd64

  • https://hub.docker.com/r/nolte/snapcast-server/
  • https://hub.docker.com/r/nolte/snapcast-client/
  • https://hub.docker.com/r/nolte/mopidy/
  • https://hub.docker.com/r/nolte/upmpdcli/

armhf

  • https://hub.docker.com/r/nolte/rpi-snapcast-server/
  • https://hub.docker.com/r/nolte/rpi-snapcast-client/
  • https://hub.docker.com/r/nolte/rpi-mopidy/
  • https://hub.docker.com/r/nolte/rpi-upmpdcli/