From 4e84f63aa4bd1ce34e47c47c83c492f4b89a1ec0 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 11 Nov 2021 16:05:23 +0800 Subject: [PATCH] fix graphite --- graphite/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphite/Dockerfile b/graphite/Dockerfile index 7a9a3e8..7a00668 100644 --- a/graphite/Dockerfile +++ b/graphite/Dockerfile @@ -33,6 +33,7 @@ RUN set -xe \ && pip3 install --no-cache-dir --install-option=--prefix=/opt/graphite \ --install-option=--install-lib=/opt/graphite/webapp \ graphite-web==$GRAPHITE_VERSION \ + && pip3 install pyparsing==2.4.7 \ && cd ./webapp \ && echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" >> graphite/local_settings.py \ && cd ../conf \ @@ -49,7 +50,7 @@ RUN set -xe \ && rm -rf /root/.cache/pip \ /var/cache/apk/* -COPY nginx.conf /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/http.d/default.conf COPY supervisord.conf /etc/supervisor/ VOLUME $GRAPHITE_CONF_DIR \