stream: split radio.liq into pipeline, web and ingest-proxy parts

Extract the HTTP surface out of radio.liq into two included files: web.liq
(static assets, PWA, local player API) and ingest_proxy.liq (relays to the
ingest daemon). radio.liq keeps only the streaming pipeline and ends with the
%include directives, evaluated after the pipeline so the handlers see radio,
now_playing, history, etc.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
nemunaire 2026-07-04 16:11:56 +08:00
commit 8054c98dd1
4 changed files with 311 additions and 292 deletions

View file

@ -1,6 +1,8 @@
FROM savonet/liquidsoap:v2.4.5
COPY radio.liq /etc/liquidsoap/radio.liq
COPY web.liq /etc/liquidsoap/web.liq
COPY ingest_proxy.liq /etc/liquidsoap/ingest_proxy.liq
COPY index.html /etc/liquidsoap/index.html
COPY favicon.svg /etc/liquidsoap/favicon.svg
COPY manifest.webmanifest /etc/liquidsoap/manifest.webmanifest