Sign inSign up

calvinux/os-shoutcast

By calvinux

•Updated 6 days ago

SHOUTcast DNAS Server 2 for Second Life & OpenSimulator

Image
0

33

calvinux/os-shoutcast repository overview

⁠SHOUTcast DNAS Server 2 for Second Life & OpenSimulator

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.


⁠Included Files

  • docker-compose.yml - Docker Compose orchestration file.
  • sc_serv.conf - SHOUTcast server configuration file.

⁠⚙️ Configuration

Before launching the container, create or customize the sc_serv.conf file and change the default passwords.

⁠Default 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
⁠Configuration Parameters
ParameterDescription
adminpasswordPassword used for the SHOUTcast administration interface
passwordSource password used by your streaming software
requirestreamconfigsEnables stream configuration requirements
streamid_1Defines the stream identifier
streampath_1Stream URL path
logfileMain server log file
w3clogAccess log file
banfileBanned listener list
ripfileRestricted listener list

⚠️ Security Notice

Change the default passwords (hackme1 and hackme2) before exposing the server to the Internet.


⁠🚀 Docker Compose

⁠docker-compose.yml
services:
  shoutcast:
    image: calvinux/os-shoutcast:latest
    ports:
      - "8000:8000"
      - "8001:8001"
    volumes:
      - ./sc_serv.conf:/opt/shoutcast/sc_serv.conf
    restart: always
⁠Port Mapping
PortDescription
8000Audio stream listener port
8001SHOUTcast administration interface
⁠Volume Mapping
HostContainerDescription
./sc_serv.conf/opt/shoutcast/sc_serv.confSHOUTcast configuration file
⁠Restart Policy
restart: always

Ensures the container automatically restarts after a crash or host reboot.


⁠▶️ Quick Start

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

Tag summary

Content type

Image

Digest

sha256:672328a8e…

Size

34.3 MB

Last updated

6 days ago

docker pull calvinux/os-shoutcast