27c3efabe2
* Add a stack for erc721 watcher * Add a demo * Avoid watcher db service and volume name conflicts across watchers * Avoid host port conflicts across watchers * Avoid watcher-db port conflicts
42 lines
883 B
TOML
42 lines
883 B
TOML
[server]
|
|
host = "0.0.0.0"
|
|
port = 3001
|
|
mode = "storage"
|
|
kind = "lazy"
|
|
|
|
[metrics]
|
|
host = "127.0.0.1"
|
|
port = 9000
|
|
[metrics.gql]
|
|
port = 9001
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "erc20-watcher-db"
|
|
port = 5432
|
|
database = "erc20-watcher"
|
|
username = "vdbm"
|
|
password = "password"
|
|
synchronize = true
|
|
logging = false
|
|
maxQueryExecutionTime = 100
|
|
|
|
[upstream]
|
|
[upstream.ethServer]
|
|
gqlApiEndpoint = "http://ipld-eth-server:8082/graphql"
|
|
rpcProviderEndpoint = "http://ipld-eth-server:8081"
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[jobQueue]
|
|
dbConnectionString = "postgres://vdbm:password@erc20-watcher-db:5432/erc20-watcher-job-queue"
|
|
maxCompletionLagInSecs = 300
|
|
jobDelayInMilliSecs = 100
|
|
eventsInBatch = 50
|
|
blockDelayInMilliSecs = 2000
|
|
prefetchBlocksInMem = true
|
|
prefetchBlockCount = 10
|