2021-07-02 10:56:32 +00:00
|
|
|
[server]
|
|
|
|
host = "127.0.0.1"
|
2021-07-06 11:25:11 +00:00
|
|
|
port = 3004
|
2021-07-02 10:56:32 +00:00
|
|
|
|
|
|
|
[database]
|
|
|
|
type = "postgres"
|
|
|
|
host = "localhost"
|
|
|
|
port = 5432
|
|
|
|
database = "uni-info-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]
|
2021-07-15 07:40:07 +00:00
|
|
|
[upstream.ethServer]
|
|
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
|
|
gqlPostgraphileEndpoint = "http://127.0.0.1:5000/graphql"
|
2021-07-02 10:56:32 +00:00
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
|
|
|
enabled = false
|
|
|
|
deleteOnStart = false
|
2021-07-06 11:25:11 +00:00
|
|
|
|
|
|
|
[upstream.uniWatcher]
|
|
|
|
gqlEndpoint = "http://127.0.0.1:3003/graphql"
|
|
|
|
gqlSubscriptionEndpoint = "http://127.0.0.1:3003/graphql"
|
|
|
|
|
|
|
|
[upstream.tokenWatcher]
|
|
|
|
gqlEndpoint = "http://127.0.0.1:3001/graphql"
|
|
|
|
gqlSubscriptionEndpoint = "http://127.0.0.1:3001/graphql"
|
2021-07-22 04:32:06 +00:00
|
|
|
|
|
|
|
[jobQueue]
|
|
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/uni-info-watcher-job-queue"
|
2021-08-24 06:25:29 +00:00
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 1000
|