HUB
Sign inSign up

rolla/icecast-kh

By rolla

•Updated almost 3 years ago

Built latest icecast-2.4.0-kh16 on ubuntu 22.04 jammy jellyfish

Image
1

3.9K

rolla/icecast-kh repository overview

⁠Built latest icecast-2.4.0-kh16⁠ on ubuntu 22.04 jammy jellyfish

pipeline status

⁠By default it will work as relay to gradio.lv⁠ streams
⁠Repository: gitlab.com/gradio.lv/docker-icecast-kh⁠

⁠fast run and test

docker run --rm -p 8000:8000 rolla/icecast-kh

Open localhost:8000⁠

Listen to streams by clicking M3U or XSPF playlist links

⁠note

Starting from 2.4.0-kh16 it uses Ubuntu 22.04 jammy jellyfish all previous was using 20.04

Below commands works started from tags latest and 2.4.0-kh15-wo-supervisor

All next versions will be without supervisor

If you need previous 2.4.0-kh15 with supervisor use docker pull rolla/icecast-kh:2.4.0-kh15

⁠docker commands

# run with default config 
docker run --rm -p 8000:8000 rolla/icecast-kh

# run and pass env 
docker run --rm -p 8000:8000 -e IC_LOCATION=Mars rolla/icecast-kh

# mount your custom xml config file
docker run --rm -p 8000:8000 -v $(pwd)/icecast.xml:/home/icecast/config/icecast.xml rolla/icecast-kh

# see version
docker run --rm rolla/icecast-kh -v

# build
docker build -t rolla/icecast-kh ./

⁠admin ui

Open in browser: http://admin:hackme@localhost:8000/admin.html⁠

default credentials:

username: admin
password: hackme

# to change password pass env
docker run --rm -p 8000:8000 -e IC_ADMIN_PASSWORD=pass rolla/icecast-kh

# or change config file and mount it
docker run --rm -p 8000:8000 -v $(pwd)/icecast.xml:/home/icecast/config/icecast.xml rolla/icecast-kh

⁠tags

-wo-supervisor - means without supervisor

⁠custom env variables

⁠where these tags are located see config: icecast.xml⁠
envicecast xml config tag
IC_LOCATION<location></location>
IC_ADMIN_EMAIL<admin></admin>
IC_MAX_LISTENERS<clients></clients>
IC_MAX_SOURCES<sources></sources>
IC_SOURCE_PASSWORD<source-password></source-password>
IC_RELAY_PASSWORD<relay-password></relay-password>
IC_ADMIN_PASSWORD<admin-password></admin-password>
IC_HOSTNAME<hostname></hostname>
IC_MOUNT_PASSWORD<password></password>
IC_RELAY_SERVER<server></server>
⁠offical icecast config docs⁠

⁠dockerfile defaults

KEYVALUE
ENTRYPOINT/home/icecast/docker-entrypoint.sh
CMD-c /home/icecast/config/icecast.xml
# to override
docker run --rm --entrypoint sh rolla/icecast-kh -c "sleep 10"
⁠Need also to play some files? Use together with liquidsoap: gitlab.com/gradio.lv/docker-stream⁠

git clone https://gitlab.com/gradio.lv/docker-stream.git && cd docker-stream
docker-compose up 

enjoy :)

Tag summary

Content type

Image

Digest

sha256:c5d09fce1…

Size

197.6 MB

Last updated

almost 4 years ago

docker pull rolla/icecast-kh