mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
mpd + icecast
This commit is contained in:
13
icecast/arm/Dockerfile
Normal file
13
icecast/arm/Dockerfile
Normal 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"]
|
||||
5
icecast/arm/docker-compose.yml
Normal file
5
icecast/arm/docker-compose.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
icecast:
|
||||
image: easypi/icecast-arm
|
||||
ports:
|
||||
- "8000:8000"
|
||||
restart: always
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
23
mpd/mpd.conf
23
mpd/mpd.conf
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user