Icecast2 Dockerfile (Adapted from https://github.com/moul/docker-icecastā ā )
https://github.com/mxwllstn/icecast-dockerā
Run with default password, export port 8000
docker run -d --name icecast -p 8000:8000 mxwllstn/icecast
$BROWSER localhost:8000
Run with custom password
docker run -d --name icecast -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 mxwllstn/icecast
Run with .env file
docker run -d --name icecast -p 8000:8000 --env-file ./.env mxwllstn/icecast
Run with custom configuration
docker run -p 8000:8000 -v /local/path/to/icecast/config:/etc/icecast2 mxwllstn/icecast
docker run -p 8000:8000 -v /local/path/to/icecast.xml:/etc/icecast2/icecast.xml mxwllstn/icecast
Extends Dockerfile
FROM mxwllstn/icecast
ADD ./icecast.xml /etc/icecast2
Docker compose
icecast:
image: mxwllstn/icecast
environment:
- ICECAST_SOURCE_PASSWORD=aaa
- ICECAST_ADMIN_PASSWORD=bbb
- ICECAST_PASSWORD=ccc
- ICECAST_RELAY_PASSWORD=ddd
- ICECAST_HOSTNAME=noise.example.com
ports:
- 8000:8000
Run with docker compose
docker compose up --detach
Content type
Image
Digest
sha256:d7a10a3c8ā¦
Size
111.1 MB
Last updated
about 1 year ago
docker pull mxwllstn/icecast