From 0921587ae3e7130e7030df5482bd795a404c33dc Mon Sep 17 00:00:00 2001 From: Mike Olund Date: Sat, 18 Mar 2017 10:20:26 -0700 Subject: [PATCH] Added gunicorn config file --- gunicorn_config.py | 1 + openshift/templates/edivorce-environment-template.yaml | 1 + 2 files changed, 2 insertions(+) create mode 100644 gunicorn_config.py diff --git a/gunicorn_config.py b/gunicorn_config.py new file mode 100644 index 00000000..a709b354 --- /dev/null +++ b/gunicorn_config.py @@ -0,0 +1 @@ +workers = 4 diff --git a/openshift/templates/edivorce-environment-template.yaml b/openshift/templates/edivorce-environment-template.yaml index 77ecfc66..cb9b4cd6 100644 --- a/openshift/templates/edivorce-environment-template.yaml +++ b/openshift/templates/edivorce-environment-template.yaml @@ -304,6 +304,7 @@ parameters: from: "[a-zA-Z0-9]{16}" - name: APP_CONFIG displayName: Application Configuration File Path + value: gunicorn_config.py description: Relative path to Gunicorn configuration file (optional). - name: DJANGO_SECRET_KEY displayName: Django Secret Key