mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-22 05:09:36 +02:00
add shoutcast
This commit is contained in:
parent
75ba7d880f
commit
ac32cbf80c
@ -105,6 +105,7 @@ A collection of delicious docker recipes.
|
||||
- [x] red5-arm :construction:
|
||||
- [x] rtmp-client-arm :+1:
|
||||
- [x] rtmp-server
|
||||
- [x] shoutcast
|
||||
- [x] tesseract
|
||||
- [x] youtube-dl
|
||||
- [x] youtube-worker :beetle:
|
||||
|
23
shoutcast/Dockerfile
Normal file
23
shoutcast/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# Dockerfile for shoutcast
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
WORKDIR /opt/shoutcast
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y curl \
|
||||
&& curl http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-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"]
|
38
shoutcast/README.md
Normal file
38
shoutcast/README.md
Normal file
@ -0,0 +1,38 @@
|
||||
shoutcast
|
||||
=========
|
||||
|
||||
[SHOUTcast][1] Server (DNAS) - The most popular online streaming server
|
||||
software on the planet, used by over 50,000 broadcasters.
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yaml
|
||||
shoutcast:
|
||||
image: vimagick/shoutcast
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8001:8001"
|
||||
volumes:
|
||||
- ./sc_serv.conf:/opt/shoutcast/sc_serv.conf
|
||||
restart: always
|
||||
```
|
||||
|
||||
## sc_serv.conf
|
||||
|
||||
```ini
|
||||
#
|
||||
# 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
|
||||
```
|
||||
|
||||
[1]: http://wiki.shoutcast.com/wiki/SHOUTcast
|
8
shoutcast/docker-compose.yml
Normal file
8
shoutcast/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
shoutcast:
|
||||
image: vimagick/shoutcast
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8001:8001"
|
||||
volumes:
|
||||
- ./sc_serv.conf:/opt/shoutcast/sc_serv.conf
|
||||
restart: always
|
13
shoutcast/sc_serv.conf
Normal file
13
shoutcast/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