conf: update to latest spec

This commit is contained in:
Mohamed Sohail 2024-10-31 10:46:03 +03:00
parent 2793d92343
commit ac508f4830
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
3 changed files with 5 additions and 9 deletions

View File

@ -5,16 +5,12 @@ go_process = true
address = ":5002" address = ":5002"
[postgres] [postgres]
dsn = "postgres://postgres:postgres@127.0.0.1:5433/ge_celo_data" dsn = "postgres://postgres:postgres@127.0.0.1:5433/chain_data"
[jetstream] [jetstream]
endpoint = "nats://127.0.0.1:4222" endpoint = "nats://127.0.0.1:4222"
id = "celo-indexer-1" id = "eth-indexer-1"
[chain] [chain]
rpc_endpoint = "http://localhost:8545" rpc_endpoint = "http://localhost:8545"
chainid = 1337 chainid = 1337
[bootstrap]
# This will bootstrap the cache on which addresses to track
ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"]

View File

@ -16,8 +16,8 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
celo-indexer: eth-indexer:
image: celo-indexer:latest image: ghcr.io/grassrootseconomics/eth-indexer:latest
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
postgres: postgres:

View File

@ -1 +1 @@
CREATE DATABASE ge_celo_data; CREATE DATABASE chain_data;