From 8a27f7fd22be63317dec8ee4c950472781798025 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Tue, 9 Mar 2021 18:32:52 +0100 Subject: [PATCH] working radio --- .drone.yml | 26 +++++++ Dockerfile | 8 ++ icecast.xml | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 254 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile create mode 100644 icecast.xml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f66e75e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +kind: pipeline +name: default + +steps: +- name: docker + image: plugins/docker + volumes: + - name: docker-socket + path: /var/run/docker.sock + settings: + debug: true + daemon_off: true + username: + from_secret: docker_username + password: + from_secret: docker_password + repo: + from_secret: docker_repo + tags: + - latest + - ${DRONE_BUILD_FINISHED} + +volumes: +- name: docker-socket + host: + path: /run/docker/default/docker.sock diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fd8cd5e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM alpine:edge as base +RUN ["apk", "add", "--no-cache", "icecast"] +COPY ["icecast.xml", "/app/icecast.xml"] + +FROM scratch +COPY --from/base / / +USER 1443:1443 +ENTRYPOINT ["/usr/bin/icecast", "-c", "/app/icecast.xml"] diff --git a/icecast.xml b/icecast.xml new file mode 100644 index 0000000..0432d94 --- /dev/null +++ b/icecast.xml @@ -0,0 +1,220 @@ + + + 8000 + + radio.purser.it + Finland + admin@royolav.net + 1 + + /data + + + lyd.nrk.no + 80 + /nrk_radio_p1_innlandet_mp3_h?_hdr=0 + /radio-200 + 1 + 0 + + + lyd.nrk.no + 80 + /nrk_radio_p2_mp3_h?_hdr=0 + /radio-201 + 1 + 0 + + + lyd.nrk.no + 80 + /nrk_radio_p3_mp3_h?_hdr=0 + /radio-202 + 1 + 0 + + + lyd.nrk.no + 80 + /nrk_radio_mp3_mp3_h?_hdr=0 + /radio-203 + 1 + 0 + + + lyd.nrk.no + 80 + /nrk_radio_p13_mp3_h?_hdr=0 + /radio-204 + 1 + 0 + + + p4.p4groupaudio.com + 80 + /P04_MM + /radio-205 + 1 + 0 + + + p4.p4groupaudio.com + 80 + /P05_MM + /radio-206 + 1 + 0 + + + p6.p4groupaudio.com + 80 + /P06_MM + /radio-207 + 1 + 0 + + + p7.p4groupaudio.com + 80 + /P07_MM + /radio-208 + 1 + 0 + + + p8.p4groupaudio.com + 80 + /P08_MM + /radio-209 + 1 + 0 + + + p9.p4groupaudio.com + 80 + /P09_MM + /radio-210 + 1 + 0 + + + stream.radiometro.no + 80 + /metro128.mp3 + /radio-211 + 1 + 0 + + + live-bauerno.sharp-stream.com + 80 + /radionorge_no_hq + /radio-212 + 1 + 0 + + + stream.radionova.no + 80 + /mp3 + /radio-213 + 1 + 0 + + + stream.radiorandsfjord.no + 80 + /randsfjord128.mp3 + /radio-214 + 1 + 0 + + + tx-bauerno.sharp-stream.com + 80 + /http_live.php?i=radiorock_no_hq + /radio-215 + 1 + 0 + + + UTF-8 + /radio-200 + NRK P1 Innlandet + + + UTF-8 + /radio-201 + NRK P2 + + + UTF-8 + /radio-202 + NRK P3 + + + UTF-8 + /radio-203 + NRK mP3 + + + UTF-8 + /radio-204 + NRK P13 + + + UTF-8 + /radio-205 + P4 Lyden av Norge + + + UTF-8 + /radio-206 + P5 Hits + + + UTF-8 + /radio-207 + P6 Rock + + + UTF-8 + /radio-208 + P7 Klem + + + UTF-8 + /radio-209 + P8 Pop + + + UTF-8 + /radio-210 + P9 Retro + + + UTF-8 + /radio-211 + Radio Metro + + + UTF-8 + /radio-212 + Radio Norge + + + UTF-8 + /radio-213 + Radio Nova + + + UTF-8 + /radio-214 + Radio Randsfjord + + + UTF-8 + /radio-215 + Radio Rock + +