Skip to content

Instantly share code, notes, and snippets.

@dstecholution
Forked from moxuse/gist:4077236
Last active May 17, 2022 15:14
Show Gist options
  • Save dstecholution/42a1712d5f24b0321d1c844aabe948fd to your computer and use it in GitHub Desktop.
Save dstecholution/42a1712d5f24b0321d1c844aabe948fd to your computer and use it in GitHub Desktop.
icecast config example
<icecast>
<location>{{location}}</location>
<admin>{{person_of_interest_email}}</admin>
<limits>
<clients>{{maxclients}}</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<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>{{secrets_source_token}}</source-password>
<relay-password>{{secrets_relay_token}}</relay-password>
<admin-user>{{secrets_admin_user}}</admin-user>
<admin-password>{{secrets_admin_token}}</admin-password>
</authentication>
<hostname>{{node.hostname}}</hostname>
<listen-socket>
<port>8000</port>
<bind-address>0.0.0.0</bind-address>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<basedir>/data</basedir>
<logdir>/data/logs</logdir>
<webroot>/data/web</webroot>
<adminroot>/data/admin</adminroot>
<alias source="/" destination="/status.xsl"/>
</paths>
<logging>
<accesslog>-</accesslog>
<errorlog>-g</errorlog>
<loglevel>{{debuglevel}}</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
</security>
</icecast>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment