SHOUTcast DNAS Server 2 for Second Life & OpenSimulator
33
A lightweight, self-hosted Docker container for running a SHOUTcast DNAS Server 2, optimized for streaming audio streams inside virtual world platforms such as Second Life and OpenSimulator.
docker-compose.yml - Docker Compose orchestration file.sc_serv.conf - SHOUTcast server configuration file.Before launching the container, create or customize the sc_serv.conf file and change the default passwords.
sc_serv.conf#
# 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
| Parameter | Description |
|---|---|
adminpassword | Password used for the SHOUTcast administration interface |
password | Source password used by your streaming software |
requirestreamconfigs | Enables stream configuration requirements |
streamid_1 | Defines the stream identifier |
streampath_1 | Stream URL path |
logfile | Main server log file |
w3clog | Access log file |
banfile | Banned listener list |
ripfile | Restricted listener list |
⚠️ Security Notice
Change the default passwords (
hackme1andhackme2) before exposing the server to the Internet.
docker-compose.ymlservices:
shoutcast:
image: calvinux/os-shoutcast:latest
ports:
- "8000:8000"
- "8001:8001"
volumes:
- ./sc_serv.conf:/opt/shoutcast/sc_serv.conf
restart: always
| Port | Description |
|---|---|
8000 | Audio stream listener port |
8001 | SHOUTcast administration interface |
| Host | Container | Description |
|---|---|---|
./sc_serv.conf | /opt/shoutcast/sc_serv.conf | SHOUTcast configuration file |
restart: always
Ensures the container automatically restarts after a crash or host reboot.
Create the project directory:
mkdir shoutcast
cd shoutcast
Create your configuration file:
nano sc_serv.conf
Copy the example configuration above and save the file.
Create docker-compose.yml:
services:
shoutcast:
image: calvinux/shoutcast:latest
ports:
- "8000:8000"
- "8001:8001"
volumes:
- ./sc_serv.conf:/opt/shoutcast/sc_serv.conf
restart: always
Start the container:
docker compose up -d
Check logs:
docker compose logs -f
Content type
Image
Digest
sha256:672328a8e…
Size
34.3 MB
Last updated
6 days ago
docker pull calvinux/os-shoutcast