1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00

add shoutcast-arm

This commit is contained in:
kev 2016-09-18 01:09:32 +08:00
parent ac32cbf80c
commit 9ff66ce987
4 changed files with 46 additions and 0 deletions

@ -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.

23
shoutcast/arm/Dockerfile Normal file

@ -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"]

@ -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

@ -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