mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-24 06:28:23 +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:
|
ports:
|
||||||
- "6600:6600"
|
- "6600:6600"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./mpd.conf:/etc/mpd.conf
|
||||||
- ./music:/var/lib/mpd/music
|
- ./music:/var/lib/mpd/music
|
||||||
- ./playlists:/var/lib/mpd/playlists
|
- ./playlists:/var/lib/mpd/playlists
|
||||||
devices:
|
devices:
|
||||||
- /dev/snd
|
- /dev/snd
|
||||||
|
links:
|
||||||
|
- icecast
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
icecast:
|
||||||
|
image: easypi/icecast-arm
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
@@ -16,15 +16,14 @@ audio_output {
|
|||||||
mixer_type "software"
|
mixer_type "software"
|
||||||
}
|
}
|
||||||
|
|
||||||
#audio_output {
|
audio_output {
|
||||||
# type "shout"
|
type "shout"
|
||||||
# encoding "ogg"
|
encoding "ogg"
|
||||||
# name "My Shout Stream"
|
name "My Shout Stream"
|
||||||
# host "icecast"
|
host "icecast"
|
||||||
# port "8000"
|
port "8000"
|
||||||
# mount "/mpd.ogg"
|
mount "/mpd.ogg"
|
||||||
# password "hackme"
|
password "hackme"
|
||||||
# quality "5.0"
|
bitrate "128"
|
||||||
# bitrate "128"
|
format "44100:16:1"
|
||||||
# format "44100:16:1"
|
}
|
||||||
#}
|
|
||||||
|
|||||||
@@ -3,8 +3,17 @@ mpd:
|
|||||||
ports:
|
ports:
|
||||||
- "6600:6600"
|
- "6600:6600"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./mpd.conf:/etc/mpd.conf
|
||||||
- ./music:/var/lib/mpd/music
|
- ./music:/var/lib/mpd/music
|
||||||
- ./playlists:/var/lib/mpd/playlists
|
- ./playlists:/var/lib/mpd/playlists
|
||||||
devices:
|
devices:
|
||||||
- /dev/snd
|
- /dev/snd
|
||||||
|
links:
|
||||||
|
- icecast
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
icecast:
|
||||||
|
image: vimagick/icecast
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
23
mpd/mpd.conf
23
mpd/mpd.conf
@@ -16,15 +16,14 @@ audio_output {
|
|||||||
mixer_type "software"
|
mixer_type "software"
|
||||||
}
|
}
|
||||||
|
|
||||||
#audio_output {
|
audio_output {
|
||||||
# type "shout"
|
type "shout"
|
||||||
# encoding "ogg"
|
encoding "ogg"
|
||||||
# name "My Shout Stream"
|
name "My Shout Stream"
|
||||||
# host "icecast"
|
host "icecast"
|
||||||
# port "8000"
|
port "8000"
|
||||||
# mount "/mpd.ogg"
|
mount "/mpd.ogg"
|
||||||
# password "hackme"
|
password "hackme"
|
||||||
# quality "5.0"
|
bitrate "128"
|
||||||
# bitrate "128"
|
format "44100:16:1"
|
||||||
# format "44100:16:1"
|
}
|
||||||
#}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user