Skip to content

Commit

Permalink
Fix prometheus temp folder permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kalxas committed Dec 11, 2023
1 parent aa99c95 commit e62f0b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ RUN cd /registrar_pycsw && \
ADD eoxserver.patch /opt/eoxserver/
RUN cd /opt/eoxserver && patch -p 1 < eoxserver.patch

# FIXME: Patching EOxServer 1.2.12 release prometheus configuration
ENV PROMETHEUS_MULTIPROC_DIR="/var/tmp/prometheus_multiproc_dir"
RUN mkdir -p $PROMETHEUS_MULTIPROC_DIR && \
chmod 777 $PROMETHEUS_MULTIPROC_DIR
chown www-data $PROMETHEUS_MULTIPROC_DIR && \
chmod g+w $PROMETHEUS_MULTIPROC_DIR

ENV STARTUP_SCRIPTS="/registrar_pycsw/registrar_pycsw/initialize-collections.sh"

0 comments on commit e62f0b7

Please sign in to comment.