Files
mesh-host/testdata/beside/mesh-catalog/modules/icecast/files/icecast.xml
T
jschoubben d68e241724 Take the catalogue's composition rules into the node-engine
ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk
carries no composition rule. The catalogue functions only the
node-engine's composition reaches (Resolve, Resolution's Compose,
Declaration, DataItems, LeftOut, Rules and the rest, the settings,
placeholder and template refusals, the rendering helpers) are copied
with their tests into internal/compose/resolution; a method of a
mesh-sdk shape becomes a function taking it first. The composition
calls its own copies, and the captured catalogue its tests read lives
here now, shared by mesh-compose's tests.

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
2026-11-02 19:15:55 +01:00

57 lines
2.2 KiB
XML

<icecast>
<!-- Written by the mesh (modules/icecast). Passwords arrive as secrets rendered into this file,
never as environment: the image's entrypoint seds ICECAST_* variables into the file only
when they are set, and none are. -->
<location>Earth</location>
<admin>icemaster@localhost</admin>
<limits>
<clients>100</clients>
<sources>2</sources>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>${secret:source}</source-password>
<relay-password>${secret:relay}</relay-password>
<admin-user>admin</admin-user>
<admin-password>${secret:admin}</admin-password>
</authentication>
<!-- The name icecast writes into playlists (.m3u/.xspf: http://<hostname>:<port>/<mount>) and
would announce to YP (none configured). A machine's own name belongs to its assignment, and
an assignment merges only into JSON; this XML cannot take it, so the neutral default stays. -->
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<http-headers>
<header name="Access-Control-Allow-Origin" value="*" />
</http-headers>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/share/icecast</basedir>
<logdir>/var/log/icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
<alias source="/" destination="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel>
<logsize>10000</logsize>
</logging>
<security>
<chroot>0</chroot>
<!-- Starts as root, reads this 0600 root-owned file, then drops to the image's icecast user
(uid 100, group icecast 101) before serving. -->
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>