📻 Icecast 2 in Dockerfile (Docker container, compatible with liquidsoap)
XSLT CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Latest commit abdee9e Oct 30, 2017
Permalink
Failed to load latest commit information.
etc/icecast2 Fix #3 Oct 30, 2017
examples Create docker-compose.yml May 11, 2015
.gitignore wip Jan 31, 2014
.travis.yml Added .travis.yml Jun 8, 2015
Dockerfile Fix #3 Oct 30, 2017
LICENSE.md Added LICENSE.md (#1) Jul 6, 2015
README.md Update README.md Jul 6, 2015
start.sh Fix #3 Oct 30, 2017

README.md

Icecast in Docker Build Status

Icecast2 Dockerfile

Run

Run with default password, export port 8000

docker run -p 8000:8000 moul/icecast
$BROWSER localhost:8000

Run with custom password

docker run -p 8000:8000 -e ICECAST_SOURCE_PASSWORD=aaaa -e ICECAST_ADMIN_PASSWORD=bbbb -e ICECAST_PASSWORD=cccc -e ICECAST_RELAY_PASSWORD=dddd moul/icecast

Run with custom configuration

docker run -p 8000:8000 -v /local/path/to/icecast/config:/etc/icecast2 moul/icecast
docker run -p 8000:8000 -v /local/path/to/icecast.xml:/etc/icecast2/icecast.xml moul/icecast

Extends Dockerfile

FROM moul/icecast
ADD ./icecast.xml /etc/icecast2

Docker-compose

icecast:
  image: moul/icecast
  volumes:
  - logs:/var/log/icecast2
  - /etc/localtime:/etc/localtime:ro
  environment:
  - ICECAST_SOURCE_PASSWORD=aaa
  - ICECAST_ADMIN_PASSWORD=bbb
  - ICECAST_PASSWORD=ccc
  - ICECAST_RELAY_PASSWORD=ddd
  ports:
  - 8000:8000

Examples

License

MIT