Skip to content

Commit

Permalink
Fix entrypoing and add scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
gofman8 committed Oct 11, 2023
1 parent 2ca8554 commit e8be731
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,26 @@ spec:
value: "default,indexing"
- name: RUN_MIGRATION
value: "1"
command: ["docker/web/celery/flower/run.sh"]
args: ["docker/web/celery/flower/run.sh"]
name: flower
resources: {}
- image: sovryn/rootstock-transaction-service
imagePullPolicy: Always
envFrom:
- secretRef:
name: rootstock-transaction-service
- secretRef:
name: rootstock-transaction-service-secret
ports:
- containerPort: 5555
env:
- name: WORKER_QUEUES
value: "default,indexing"
- name: RUN_MIGRATION
value: "1"
args: ["docker/web/celery/scheduler/run.sh"]
name: scheduler
resources: {}
- image: sovryn/rootstock-transaction-service
imagePullPolicy: Always
envFrom:
Expand All @@ -46,7 +63,7 @@ spec:
env:
- name: WORKER_QUEUES
value: "contracts,tokens"
command: ["docker/web/celery/worker/run.sh"]
args: ["docker/web/celery/worker/run.sh"]
name: contracts-tokens-worker
resources: {}
- image: sovryn/rootstock-transaction-service
Expand All @@ -59,7 +76,7 @@ spec:
env:
- name: WORKER_QUEUES
value: "notifications,webhooks"
command: ["docker/web/celery/worker/run.sh"]
args: ["docker/web/celery/worker/run.sh"]
name: notifications-webhooks-worker
resources: {}
- image: sovryn/rootstock-transaction-service
Expand All @@ -74,7 +91,7 @@ spec:
value: "default,indexing"
- name: RUN_MIGRATION
value: "1"
command: ["docker/web/celery/worker/run.sh"]
args: ["docker/web/celery/worker/run.sh"]
name: indexer-worker
resources: {}
- image: sovryn/rootstock-transaction-service
Expand All @@ -89,7 +106,7 @@ spec:
volumeMounts:
- mountPath: /nginx
name: nginx-shared
command: ["docker/web/run_web.sh"]
args: ["docker/web/run_web.sh"]
- image: nginx:1.20-alpine
name: nginx
envFrom:
Expand Down

0 comments on commit e8be731

Please sign in to comment.