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: containers:
- name: bodhi-web - name: bodhi-web
image: bodhi-base:latest image: bodhi-base:latest
{% if env == "staging" %}
command: ["gunicorn"] command: ["gunicorn"]
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4"] args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "60"]
{% 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 %}
ports: ports:
- containerPort: 8080 - containerPort: 8080
resources: {} resources: {}