← Back to team overview

graphite-dev team mailing list archive

Re: [Question #667776]: 502 Bad Gateway

 

Question #667776 on Graphite changed:
https://answers.launchpad.net/graphite/+question/667776

Denis Zhdanov posted a new comment:
You can peek gunicorn configuration e.g. in official docker image
https://github.com/graphite-project/docker-graphite-statsd/blob/master/conf/etc/service/graphite/run

export PYTHONPATH=/opt/graphite/webapp && exec /usr/local/bin/gunicorn
wsgi --workers=4 --bind=0.0.0.0:8080 --log-file=/var/log/gunicorn.log
--preload --pythonpath=/opt/graphite/webapp/graphite

You also need to create config for Graphite

cp /opt/graphite/webapp/graphite/local_settings.py.example
/opt/graphite/webapp/graphite/local_settings.py

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.