2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

mpd + icecast

This commit is contained in:
kev
2016-08-17 20:22:38 +08:00
parent 5e68cc06b9
commit 27d3179c71
6 changed files with 58 additions and 24 deletions

13
icecast/arm/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
#
# Dockerfile for icecast-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache icecast
EXPOSE 8000
CMD ["icecast", "-c", "/etc/icecast.xml"]

View File

@@ -0,0 +1,5 @@
icecast:
image: easypi/icecast-arm
ports:
- "8000:8000"
restart: always

View File

@@ -3,8 +3,17 @@ mpd:
ports:
- "6600:6600"
volumes:
- ./mpd.conf:/etc/mpd.conf
- ./music:/var/lib/mpd/music
- ./playlists:/var/lib/mpd/playlists
devices:
- /dev/snd
links:
- icecast
restart: always
icecast:
image: easypi/icecast-arm
ports:
- "8000:8000"
restart: always

View File

@@ -16,15 +16,14 @@ audio_output {
mixer_type "software"
}
#audio_output {
# type "shout"
# encoding "ogg"
# name "My Shout Stream"
# host "icecast"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
#}
audio_output {
type "shout"
encoding "ogg"
name "My Shout Stream"
host "icecast"
port "8000"
mount "/mpd.ogg"
password "hackme"
bitrate "128"
format "44100:16:1"
}

View File

@@ -3,8 +3,17 @@ mpd:
ports:
- "6600:6600"
volumes:
- ./mpd.conf:/etc/mpd.conf
- ./music:/var/lib/mpd/music
- ./playlists:/var/lib/mpd/playlists
devices:
- /dev/snd
links:
- icecast
restart: always
icecast:
image: vimagick/icecast
ports:
- "8000:8000"
restart: always

View File

@@ -16,15 +16,14 @@ audio_output {
mixer_type "software"
}
#audio_output {
# type "shout"
# encoding "ogg"
# name "My Shout Stream"
# host "icecast"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
#}
audio_output {
type "shout"
encoding "ogg"
name "My Shout Stream"
host "icecast"
port "8000"
mount "/mpd.ogg"
password "hackme"
bitrate "128"
format "44100:16:1"
}