From 48263df05f6bcfc80fb7172ff5cb911eb65f2ea0 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sun, 24 Jan 2021 16:02:37 +0100 Subject: [PATCH] send seahub.log to /dev/stdout --- seahub/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/seahub/Dockerfile b/seahub/Dockerfile index f8da90c..8d3b7c5 100644 --- a/seahub/Dockerfile +++ b/seahub/Dockerfile @@ -79,6 +79,9 @@ ENV SEAFILE_CONF_DIR=/opt/seafile/seafile-data ENV SEAFILE_CENTRAL_CONF_DIR=/opt/seafile/conf 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 CMD ["/scripts/start.sh"] \ No newline at end of file