From f1a97e1be25db41117df6a8a9dedc77990fdbe98 Mon Sep 17 00:00:00 2001 From: Kazunori Kimura Date: Mon, 3 Jan 2022 15:35:15 +0900 Subject: [PATCH] add prometheus_multiproc_dir environment variable to avoid 500 error on admin/metric page see #2387 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 014ae0bc..82734b29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,6 +62,8 @@ COPY assets/runtime/ ${GITLAB_RUNTIME_DIR}/ COPY entrypoint.sh /sbin/entrypoint.sh RUN chmod 755 /sbin/entrypoint.sh +ENV prometheus_multiproc_dir="/dev/shm" + ARG BUILD_DATE ARG VCS_REF