diff --git a/ices-arm/Dockerfile b/ices-arm/Dockerfile new file mode 100644 index 0000000..5a4720b --- /dev/null +++ b/ices-arm/Dockerfile @@ -0,0 +1,11 @@ +# +# Dockerfile for ices-arm +# + +FROM easypi/alpine-arm + +MAINTAINER EasyPi Software Foundation + +RUN apk add --no-cache ices + +CMD ["ices", "/etc/ices.xml"] diff --git a/ices-arm/README.md b/ices-arm/README.md new file mode 100644 index 0000000..261ed79 --- /dev/null +++ b/ices-arm/README.md @@ -0,0 +1,79 @@ +ices +==== + +[IceS][1] is a source client for the Icecast streaming server. The purpose of this +client is to provide an audio stream to Icecast, so that one or more listeners +can access the stream. With this layout, the source client can be situated +remotely from the Icecast server. + +How It Works +------------ + +``` + +-> (LAN) -> (icecast) -+ +(in) -> (ices) -| |-> (out) -> (mpd) -> (file) + +-> (WAN) -> (icecast) -+ +``` + +docker-compose.yml +------------------ + +```yaml +ices: + image: easypi/ices-arm + volumes: + - ./ices.xml:/etc/ices.xml + devices: + - /dev/snd + links: + - icecast + restart: always + +icecast: + image: easypi/icecast-arm + ports: + - "8000:8000" + restart: always +``` + +ices.xml +-------- + +```xml + + + 0 + 4 + 1 + /var/run/ices.pid + + + Example stream name + Example genre + A short description of your stream + http://easypi.info + + + alsa + 44100 + 1 + hw:1,0 + + + icecast + 8000 + hackme + /live.ogg + + 0 + 44100 + 1 + + + + +``` + +> You can setup multiple `instances` (e.g. LAN & WAN). + +[1]: http://icecast.org/ices/ diff --git a/ices-arm/docker-compose.yml b/ices-arm/docker-compose.yml new file mode 100644 index 0000000..8be6c14 --- /dev/null +++ b/ices-arm/docker-compose.yml @@ -0,0 +1,15 @@ +ices: + image: easypi/ices-arm + volumes: + - ./ices.xml:/etc/ices.xml + devices: + - /dev/snd + links: + - icecast + restart: always + +icecast: + image: easypi/icecast-arm + ports: + - "8000:8000" + restart: always diff --git a/ices-arm/ices.xml b/ices-arm/ices.xml new file mode 100644 index 0000000..94f49e5 --- /dev/null +++ b/ices-arm/ices.xml @@ -0,0 +1,32 @@ + + + 0 + 4 + 1 + /var/run/ices.pid + + + Example stream name + Example genre + A short description of your stream + http://easypi.info + + + alsa + 44100 + 1 + hw:1,0 + + + icecast + 8000 + hackme + /live.ogg + + 0 + 44100 + 1 + + + +