1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00

upgdate graphite

This commit is contained in:
kev 2017-03-14 16:25:09 +08:00
parent d188cc2a2a
commit d6c0cf1ebb
2 changed files with 4 additions and 3 deletions

@ -34,6 +34,7 @@ RUN set -xe \
&& cd ../webapp \ && cd ../webapp \
&& echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" > graphite/local_settings.py \ && echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" > graphite/local_settings.py \
&& curl -sSL https://github.com/graphite-project/graphite-web/raw/master/webapp/manage.py > manage.py \ && curl -sSL https://github.com/graphite-project/graphite-web/raw/master/webapp/manage.py > manage.py \
&& chmod +x manage.py \
&& python manage.py migrate --run-syncdb --noinput \ && python manage.py migrate --run-syncdb --noinput \
&& apk del build-base \ && apk del build-base \
curl \ curl \

@ -1,14 +1,14 @@
[supervisord] [supervisord]
loglevel=info loglevel = info
[rpcinterface:supervisor] [rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[inet_http_server] [inet_http_server]
port=0.0.0.0:9001 port = 0.0.0.0:9001
[supervisorctl] [supervisorctl]
serverurl=http://127.0.0.1:9001 serverurl = http://127.0.0.1:9001
[program:carbon-cache] [program:carbon-cache]
command = carbon-cache.py --debug start command = carbon-cache.py --debug start