bodhi: add some arguments to the gunicorn workers
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
f5d9df89ac
commit
8ccd7a5e9d
1 changed files with 1 additions and 8 deletions
|
@ -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: {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue