oraculum: Shuffle args and command a bit
This commit is contained in:
parent
e1b2416889
commit
26e3687439
1 changed files with 4 additions and 4 deletions
|
@ -118,8 +118,8 @@ spec:
|
||||||
containerName: oraculum-worker
|
containerName: oraculum-worker
|
||||||
# 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: ["/bin/sh","-c"]
|
command: ["/bin/sh"]
|
||||||
args: ["python /opt/app-root/src/oraculum/cli.py init_db && /usr/bin/celery -A oraculum.celery_app worker -c 2 --loglevel=INFO"]
|
args: ["-c", "python /opt/app-root/src/oraculum/cli.py init_db && /usr/bin/celery -A oraculum.celery_app worker -c 2 --loglevel=INFO"]
|
||||||
volumes:
|
volumes:
|
||||||
- oraculum-secret-volume
|
- oraculum-secret-volume
|
||||||
template:
|
template:
|
||||||
|
@ -202,8 +202,8 @@ spec:
|
||||||
containerName: oraculum-beat
|
containerName: oraculum-beat
|
||||||
# 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: ["/bin/sh","-c"]
|
command: ["/bin/sh"]
|
||||||
args: ["python /opt/app-root/src/oraculum/cli.py init_db && /usr/bin/celery -A oraculum.celery_app beat --loglevel=INFO"]
|
args: ["-c", "python /opt/app-root/src/oraculum/cli.py init_db && /usr/bin/celery -A oraculum.celery_app beat --loglevel=INFO"]
|
||||||
volumes:
|
volumes:
|
||||||
- oraculum-secret-volume
|
- oraculum-secret-volume
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue