mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-03 13:21:49 +02:00
add shoutcast-arm
This commit is contained in:
parent
ac32cbf80c
commit
9ff66ce987
@ -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
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"]
|
8
shoutcast/arm/docker-compose.yml
Normal file
8
shoutcast/arm/docker-compose.yml
Normal file
@ -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
|
13
shoutcast/arm/sc_serv.conf
Normal file
13
shoutcast/arm/sc_serv.conf
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user