Skip to content

Commit

Permalink
fix: chain-monitor dsn on step 2 and 1 init container
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger committed Sep 9, 2024
1 parent 4821e6c commit 4a720ed
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion charts/chain-monitor/values/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,24 @@ initContainers:
image: atkrad/wait4x:latest
args:
- postgresql
- $(DATABASE_URL)
- $(SCROLL_CHAIN_MONITOR_DB_CONFIG_DSN)
- --timeout
- "0"
envFrom:
- secretRef:
name: chain-monitor-secret-env
2-migrate-db:
image: scrolltech/chain-monitorv2:v1.1.29
command:
- /bin/sh
- -c
- chain-monitor --config /app/config/chain-monitor-config.json --db --db.migrate
volumeMounts:
- name: chain-monitor
mountPath: /app/config/
envFrom:
- secretRef:
name: chain-monitor-secret-env
4-wait-for-l2-sequencer:
image: atkrad/wait4x:latest
args:
Expand Down

0 comments on commit 4a720ed

Please sign in to comment.