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:
|
||||
- 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: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue