Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,56 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user