Last active
May 8, 2017 13:08
-
-
Save danielwhite/5fc9f0a401e8beb9e2ad6ef463650cfa to your computer and use it in GitHub Desktop.
Mopidy Container
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
FROM debian:latest | |
# Add Mopidy repository | |
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 78FD980E271D2943 && \ | |
echo "deb http://apt.mopidy.com/ jessie main contrib non-free" > /etc/apt/sources.list.d/mopidy.list | |
# Install Mopidy packages | |
RUN apt-get update && apt-get install -y \ | |
mopidy \ | |
mopidy-spotify \ | |
&& rm -rf /var/lib/apt/lists/* | |
EXPOSE 6600 6680 | |
# Set the Mopidy configuration | |
RUN mkdir -p /root/.config/mopidy | |
ADD mopidy.conf /root/.config/mopidy/mopidy.conf | |
ENTRYPOINT ["mopidy"] |
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
[audio] | |
# This does not work...!? | |
#output = audioresample ! audioconvert ! vorbisenc ! oggmux ! shout2send mount=stream.ogg ip=icecast port=8000 password=hackme | |
# This does work! | |
output = lamemp3enc ! shout2send mount=stream.mp3 ip=icecast port=8000 password=hackme | |
[http] | |
hostname = :: | |
[mpd] | |
hostname = :: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment