oraculum: Try more import fun
This commit is contained in:
parent
de9aecb407
commit
f1d86f7ac2
1 changed files with 1 additions and 4 deletions
|
@ -20,11 +20,8 @@ spec:
|
||||||
containerName: oraculum-api-endpoint
|
containerName: oraculum-api-endpoint
|
||||||
# Oraculum would automatically proceed with upgrade_db if necessary
|
# Oraculum would automatically proceed with upgrade_db if necessary
|
||||||
# init_db isn't dropping anything, so it's safe to call every time the pod starts
|
# init_db isn't dropping anything, so it's safe to call every time the pod starts
|
||||||
command: ["python", "/opt/app-root/src/oraculum/cli.py", "init_db"]
|
command: ["python", "-m", "oraculum.cli", "init_db"]
|
||||||
# and then just the gunicorn for the frontend part of the backend :)
|
# and then just the gunicorn for the frontend part of the backend :)
|
||||||
env:
|
|
||||||
- name: PYTHONPATH
|
|
||||||
value: "${PYTHONPATH}:/opt/app-root/src"
|
|
||||||
volumes:
|
volumes:
|
||||||
- oraculum-secret-volume
|
- oraculum-secret-volume
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue