Run icecast as non-root user.
parent
2e7881819e
commit
043000882e
|
@ -34,19 +34,21 @@
|
||||||
</paths>
|
</paths>
|
||||||
|
|
||||||
<logging>
|
<logging>
|
||||||
<accesslog>null</accesslog>
|
<accesslog>stdout</accesslog>
|
||||||
<errorlog>null</errorlog>
|
<errorlog>stderr</errorlog>
|
||||||
<playlistlog>null</playlistlog>
|
<playlistlog>stdout</playlistlog>
|
||||||
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
||||||
<logsize>10000</logsize>
|
<logsize>10000</logsize>
|
||||||
<logarchive>0</logarchive>
|
<logarchive>0</logarchive>
|
||||||
</logging>
|
</logging>
|
||||||
|
|
||||||
|
<!--
|
||||||
<security>
|
<security>
|
||||||
<changeowner>
|
<changeowner>
|
||||||
<user>icecast</user>
|
<user>icecast</user>
|
||||||
<group>icecast</group>
|
<group>icecast</group>
|
||||||
</changeowner>
|
</changeowner>
|
||||||
</security>
|
</security>
|
||||||
|
-->
|
||||||
|
|
||||||
</icecast>
|
</icecast>
|
||||||
|
|
|
@ -62,8 +62,7 @@ COPY --from=icecast /usr/local/ /usr/local/
|
||||||
# install share files
|
# install share files
|
||||||
COPY --from=share /icecast/share/ /icecast/share/
|
COPY --from=share /icecast/share/ /icecast/share/
|
||||||
|
|
||||||
#USER 9999
|
USER 9999
|
||||||
USER root
|
|
||||||
#VOLUME [ "/data" ]
|
#VOLUME [ "/data" ]
|
||||||
ENTRYPOINT [ "dumb-init" ]
|
ENTRYPOINT [ "dumb-init" ]
|
||||||
CMD [ "icecast", "-c", "/icecast.xml" ]
|
CMD [ "icecast", "-c", "/icecast.xml" ]
|
||||||
|
|
Loading…
Reference in New Issue