Skip to content

Commit

Permalink
add prometheus_multiproc_dir environment variable
Browse files Browse the repository at this point in the history
to avoid 500 error on admin/metric page
see #2387
  • Loading branch information
kkimurak committed Jan 25, 2022
1 parent 9e8fdbe commit f1a97e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f1a97e1

Please sign in to comment.