Testdays: Try to specify gunicorn command
This commit is contained in:
parent
665b8f0e93
commit
e172692cdb
1 changed files with 4 additions and 2 deletions
|
@ -18,8 +18,8 @@ spec:
|
||||||
failurePolicy: Abort
|
failurePolicy: Abort
|
||||||
execNewPod:
|
execNewPod:
|
||||||
containerName: testdays
|
containerName: testdays
|
||||||
# We only need to init the database the first time, after we just need to check
|
# We only need to init the database the first time, after we just need to check
|
||||||
# for DB upgrades
|
# for DB upgrades
|
||||||
command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db"]
|
command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db"]
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -30,6 +30,8 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: testdays
|
- name: testdays
|
||||||
image: testdays:latest
|
image: testdays:latest
|
||||||
|
command: ["gunicorn"]
|
||||||
|
args: ["-b", "0.0.0.0:80", "-w", "4", "--log-level", "DEBUG", "-t", "180", "testdays:wsgi"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue