aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-04-09 06:03:49 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-09 06:03:49 +0000
commit277ea0d7bf43a7cfcf0a621ea2ecfdcdc22672b9 (patch)
tree5062feab38e6d7074475cf755dbc60ced2390951 /kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py
parent21d5e7be75d5e8aa4abfe269bea89edec38c75c1 (diff)
parenta5bb31b95347229e400099565bedd3f6a3785c9a (diff)
Merge "[Contrib] Authorize choice of subcomponents"
Diffstat (limited to 'kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py')
-rwxr-xr-xkubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py
new file mode 100755
index 0000000000..c7d9f7b725
--- /dev/null
+++ b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py
@@ -0,0 +1,8 @@
+command = '/usr/bin/gunicorn'
+pythonpath = '/opt/netbox/netbox'
+bind = '0.0.0.0:{{ .Values.service.internalPort }}'
+workers = 3
+errorlog = '-'
+accesslog = '-'
+capture_output = False
+loglevel = 'debug'