openshift / bodhi / staging: adjust bodhi-web arguments to try and figure out why it's crashing on start

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-10-15 11:29:27 -07:00
parent dba7d2d870
commit 2c15d84a87

View file

@ -59,7 +59,11 @@ items:
- name: bodhi-web - name: bodhi-web
image: bodhi-base:latest image: bodhi-base:latest
command: ["gunicorn"] command: ["gunicorn"]
{% if env == "staging" %}
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180", "--preload", "--log-file=-"]
{% else %}
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180"] args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180"]
{% endif %}
ports: ports:
- containerPort: 8080 - containerPort: 8080
resources: {} resources: {}