elasa-Sites / docker-icecast

:radio: Icecast 2 in Dockerfile (Docker container, compatible with liquidsoap)

Home Page:https://manfred.life/docker-icecast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 -e ICECAST_HOSTNAME=noise.example.com -emoul/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
  - ICECAST_HOSTNAME=noise.example.com
  ports:
  - 8000:8000

Examples

License

MIT

About

:radio: Icecast 2 in Dockerfile (Docker container, compatible with liquidsoap)

https://manfred.life/docker-icecast

License:Other


Languages

Language:XSLT 85.3%Language:CSS 12.1%Language:Shell 1.3%Language:Dockerfile 1.2%