send seahub.log to /dev/stdout

This commit is contained in:
Gerrit Gogel 2021-01-24 16:02:37 +01:00
parent 2792af6311
commit 48263df05f

View file

@ -79,6 +79,9 @@ ENV SEAFILE_CONF_DIR=/opt/seafile/seafile-data
ENV SEAFILE_CENTRAL_CONF_DIR=/opt/seafile/conf ENV SEAFILE_CENTRAL_CONF_DIR=/opt/seafile/conf
ENV SEAFILE_RPC_PIPE_PATH=/opt/seafile/seafile-server-latest/runtime ENV SEAFILE_RPC_PIPE_PATH=/opt/seafile/seafile-server-latest/runtime
RUN mkdir -p /opt/seafile/logs &&\
ln -sf /dev/stdout /opt/seafile/logs/seahub.log
EXPOSE 8000 EXPOSE 8000
CMD ["/scripts/start.sh"] CMD ["/scripts/start.sh"]