From 976e0d5e8f4e81c7e4db2b45aba83de36365cfae Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Fri, 10 Feb 2023 17:17:44 +0100 Subject: [PATCH] [CE] Set Phusion Image timeouts in Dockerfile (#11785) GitOrigin-RevId: 6ce852e44093d44e66d9f394c6ef4ef9d88d1373 --- server-ce/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server-ce/Dockerfile b/server-ce/Dockerfile index 3ea289774c..58e671a463 100644 --- a/server-ce/Dockerfile +++ b/server-ce/Dockerfile @@ -97,6 +97,11 @@ ENV SHARELATEX_HISTORY_CHUNKS_BUCKET "/var/lib/sharelatex/data/history/overleaf- ENV SHARELATEX_HISTORY_ZIPS_BUCKET "/var/lib/sharelatex/data/history/overleaf-zips" ENV SHARELATEX_HISTORY_ANALYTICS_BUCKET "/var/lib/sharelatex/data/history/overleaf-analytics" +# Phusion Image timeouts before sending SIGKILL to processes +# ---------------------------------------------------------- +ENV KILL_PROCESS_TIMEOUT 55 +ENV KILL_ALL_PROCESSES_TIMEOUT 55 + ENV NODE_ENV "production" ENV LOG_LEVEL "info"