bodhi: add some arguments to the gunicorn workers

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-06-10 09:43:00 +02:00
parent f5d9df89ac
commit 8ccd7a5e9d

View file

@ -58,15 +58,8 @@ items:
containers:
- name: bodhi-web
image: bodhi-base:latest
{% if env == "staging" %}
command: ["gunicorn"]
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4"]
{% else %}
command: ["gunicorn"]
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4"]
# command: ["bash"]
# args: ["/etc/bodhi/start.sh"]
{% endif %}
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "60"]
ports:
- containerPort: 8080
resources: {}