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>
15 lines
606 B
Docker
15 lines
606 B
Docker
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
|
|
COPY sw.js /etc/liquidsoap/sw.js
|
|
COPY icon-192.png /etc/liquidsoap/icon-192.png
|
|
COPY icon-512.png /etc/liquidsoap/icon-512.png
|
|
COPY icon-maskable-512.png /etc/liquidsoap/icon-maskable-512.png
|
|
COPY apple-touch-icon.png /etc/liquidsoap/apple-touch-icon.png
|
|
|
|
CMD ["/etc/liquidsoap/radio.liq"]
|