bodhi: fix the gunicorn command in stg

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-05-28 12:36:02 +02:00
parent 9877e10272
commit da405d3326

View file

@ -58,10 +58,11 @@ items:
containers:
- name: bodhi-web
image: bodhi-base:latest
command: ["bash"]
{% if env == "staging" %}
args: ["gunicorn", "--paste", "/etc/bodhi/production.ini"]
command: ["gunicorn"]
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4"]
{% else %}
command: ["bash"]
args: ["/etc/bodhi/start.sh"]
{% endif %}
ports: