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