Created
May 9, 2020 22:57
-
-
Save franz-josef-kaiser/89e8775286bf717d3f85962400db5c74 to your computer and use it in GitHub Desktop.
Run Volumio hifi audiophile in a docker container on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir music data | |
set MUSIC_DIR=./music | |
set VOLUMIO_DATA_DIR=./data | |
docker run \ | |
--rm \ | |
-d \ | |
--name volumio \ | |
-e DISPLAY=unix$DISPLAY \ | |
-e HOST=http://192.168.1.1:3000 \ # Your local network IP | |
-p 3000:3000 \ | |
-v ${MUSIC_DIR}:/var/lib/mpd/music/:ro \ | |
-v ${VOLUMIO_DATA_DIR}:/data \ | |
--device /dev/null:/dev/snd \ # We just want to see the UI, so we disable audio by mapping it to /dev/null. No /dev/snd on MacOS anyway. | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
jbonjean/volumio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment