mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
aec9281fb8
* Setup handler for PoolCreated event. * Create Pool entity. * Subscribe to uni-watcher for watching events. * Refactor code to create GraphQLClient in ipld-eth-client. Co-authored-by: nikugogoi <95nikass@gmail.com> Co-authored-by: nabarun <nabarun@deepstacksoft.com>
40 lines
964 B
TOML
40 lines
964 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3004
|
|
|
|
[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]
|
|
gqlEndpoint = "http://127.0.0.1:8082/graphql"
|
|
gqlSubscriptionEndpoint = "http://127.0.0.1:5000/graphql"
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[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"
|