Externalize gunicorn-config

This moves the gunicorn_config.py into /etc/netbox so that it can be
easily mapped through a Openshift config map
This commit is contained in:
Tobias Genannt 2018-03-06 13:36:09 +01:00
parent ae9a3f04a5
commit 2a1b6e42a8
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,8 @@
command = '/usr/bin/gunicorn'
pythonpath = '/opt/netbox/netbox'
bind = '0.0.0.0:8001'
workers = 3
errorlog = '-'
accesslog = '-'
capture_output = False
loglevel = 'debug'