diff --git a/shoutcast/README.md b/shoutcast/README.md index 21990cd..f642c05 100644 --- a/shoutcast/README.md +++ b/shoutcast/README.md @@ -1,6 +1,8 @@ shoutcast ========= +![](https://upload.wikimedia.org/wikipedia/en/thumb/f/f7/SHOUTcast_logo.svg/200px-SHOUTcast_logo.svg.png) + [SHOUTcast][1] Server (DNAS) - The most popular online streaming server software on the planet, used by over 50,000 broadcasters. diff --git a/shoutcast/arm/Dockerfile b/shoutcast/arm/Dockerfile new file mode 100644 index 0000000..8d590f6 --- /dev/null +++ b/shoutcast/arm/Dockerfile @@ -0,0 +1,23 @@ +# +# Dockerfile for shoutcast-arm +# + +FROM armhf/debian:jessie + +MAINTAINER EasyPi Software Foundation + +WORKDIR /opt/shoutcast + +RUN set -xe \ + && apt-get update \ + && apt-get install -y curl \ + && curl http://download.nullsoft.com/shoutcast/tools/sc_serv2_armv6_rpi-latest.tar.gz | tar xz \ + && mkdir -p control logs \ + && apt-get remove -y curl \ + && rm -rf /var/lib/apt/lists/* + +COPY sc_serv.conf . + +EXPOSE 8000 8001 + +CMD ["./sc_serv", "sc_serv.conf"] diff --git a/shoutcast/arm/docker-compose.yml b/shoutcast/arm/docker-compose.yml new file mode 100644 index 0000000..d356aa2 --- /dev/null +++ b/shoutcast/arm/docker-compose.yml @@ -0,0 +1,8 @@ +shoutcast: + image: easypi/shoutcast-arm + ports: + - "8000:8000" + - "8001:8001" + volumes: + - ./sc_serv.conf:/opt/shoutcast/sc_serv.conf + restart: always diff --git a/shoutcast/arm/sc_serv.conf b/shoutcast/arm/sc_serv.conf new file mode 100644 index 0000000..0a8de15 --- /dev/null +++ b/shoutcast/arm/sc_serv.conf @@ -0,0 +1,13 @@ +# +# http://wiki.shoutcast.com/wiki/SHOUTcast_DNAS_Server_2 +# + +adminpassword=hackme1 +password=hackme2 +requirestreamconfigs=1 +streamid_1=1 +streampath_1=/stream/1/ +logfile=logs/sc_serv.log +w3clog=logs/sc_w3c.log +banfile=control/sc_serv.ban +ripfile=control/sc_serv.rip