diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0bab890 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine + +RUN apk add --no-cache icecast +RUN mkdir -p /var/log/icecast2 && \ + chown icecast /var/log/icecast2 + +COPY icecast.xml /etc/icecast2/icecast.xml + +USER icecast + +CMD ["icecast", "-c", "/etc/icecast2/icecast.xml"] diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3f36299 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +STORAGE_URL = gitea.bjornmossa.net +IMAGE_NAME = $(STORAGE_URL)/radioiceberg/icecast + +login: + docker login $(STORAGE_URL) + +build: + docker build . -t $(IMAGE_NAME) + +push: login + docker push $(IMAGE_NAME) diff --git a/icecast.xml b/icecast.xml new file mode 100644 index 0000000..f296969 --- /dev/null +++ b/icecast.xml @@ -0,0 +1,78 @@ + + Primston + admin@bjornmossa.net + + + 100 + 2 + 524288 + 30 + 15 + 10 + 1 + 65535 + + + + hackme + hackme + admin + hackme + + + + + + radioiceberg.net + + + 8000 + + + +
+ + + 1 + + + /var/log/icecast2 + /usr/share/icecast/web + /usr/share/icecast/admin + + + + + access.log + error.log + 4 + 10000 + + + + 0 + + + + /radio.ogg + 100 + 1 + Radio iceberg + Independent music from arctic island + http://radioiceberg.net + classical + 64 + application/ogg + vorbis + 65536 + 4096 + +
+ + +