diff --git a/charts/chain-monitor/values/production.yaml b/charts/chain-monitor/values/production.yaml index 9599aefe..c55f5ad7 100644 --- a/charts/chain-monitor/values/production.yaml +++ b/charts/chain-monitor/values/production.yaml @@ -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: