mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 12:56:20 +00:00
39 lines
879 B
TOML
39 lines
879 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3002
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "localhost"
|
|
port = 5432
|
|
database = "address-watcher"
|
|
username = "postgres"
|
|
password = "postgres"
|
|
synchronize = true
|
|
logging = false
|
|
|
|
entities = [ "src/entity/**/*.ts" ]
|
|
migrations = [ "src/migration/**/*.ts" ]
|
|
subscribers = [ "src/subscriber/**/*.ts" ]
|
|
|
|
[database.cli]
|
|
entitiesDir = "src/entity"
|
|
migrationsDir = "src/migration"
|
|
subscribersDir = "src/subscriber"
|
|
|
|
[upstream]
|
|
traceProviderEndpoint = "http://127.0.0.1:8545"
|
|
|
|
[upstream.ethServer]
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
gqlPostgraphileEndpoint = "http://127.0.0.1:5000/graphql"
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[jobQueue]
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/job-queue"
|
|
maxCompletionLag = 300
|