forked from MajorcaDevs/docker-icecast
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.xml
57 lines (49 loc) · 1.99 KB
/
template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<icecast>
<location>{{IC_LOCATION}}</location>
<admin>{{IC_ADMIN}}</admin>
<limits>
<clients>{{IC_MAX_CLIENTS}}</clients>
<sources>{{IC_MAX_SOURCES}}</sources>
<queue-size>{{IC_QUEUE_SIZE}}</queue-size>
<client-timeout>{{IC_CLIENT_TIMEOUT}}</client-timeout>
<header-timeout>{{IC_HEADER_TIMEOUT}}</header-timeout>
<source-timeout>{{IC_SOURCE_TIMEOUT}}</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>{{IC_BURST_SIZE}}</burst-size>
</limits>
<authentication>
<source-password>{{IC_SOURCE_PASSWORD}}</source-password>
<relay-password>{{IC_MASTER_RELAY_PASSWORD}}</relay-password>
<admin-user>{{IC_ADMIN_USER}}</admin-user>
<admin-password>{{IC_ADMIN_PASSWORD}}</admin-password>
</authentication>
<hostname>{{IC_HOSTNAME}}</hostname>
<listen-socket>
<port>{{IC_LISTEN_PORT}}</port>
<bind-address>{{IC_LISTEN_BIND_ADDRESS}}</bind-address>
<shoutcast-mount>/{{IC_LISTEN_MOUNT}}</shoutcast-mount>
</listen-socket>
<http-headers>
<header name="Access-Control-Allow-Origin" value="*" />
</http-headers>
{{#ENABLE_RELAY}}
<master-server>{{IC_RELAY_MASTER_SERVER}}</master-server>
<master-server-port>{{IC_RELAY_MASTER_PORT}}</master-server-port>
<master-update-interval>{{IC_RELAY_MASTER_UPDATE_INTERVAL}}</master-update-interval>
<master-password>{{IC_RELAY_MASTER_PASSWORD}}</master-password>
{{/ENABLE_RELAY}}
<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>{{IC_DEBUG_LOGLEVEL}}</loglevel>
<logsize>{{IC_LOGSIZE}}</logsize>
</logging>
</icecast>