mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 01:57:58 +00:00
feat: add AH GraphQL engine + block handler for pool stakers init
- Add handleBlock to query live chain state for existing pool members - Add second GraphQL engine container for Asset Hub schema (port 3001) - Register block handler in pezkuwi-assethub.yaml
This commit is contained in:
+19
-1
@@ -70,7 +70,6 @@ services:
|
||||
- 3000:3000
|
||||
depends_on:
|
||||
- subquery-node-relay
|
||||
- subquery-node-assethub
|
||||
restart: always
|
||||
environment:
|
||||
DB_USER: postgres
|
||||
@@ -83,6 +82,25 @@ services:
|
||||
- --playground
|
||||
- --indexer=http://subquery-node-relay:3000
|
||||
|
||||
graphql-engine-assethub:
|
||||
container_name: query-pezkuwi-ah
|
||||
image: onfinality/subql-query:v1.5.0
|
||||
ports:
|
||||
- 3001:3000
|
||||
depends_on:
|
||||
- subquery-node-assethub
|
||||
restart: always
|
||||
environment:
|
||||
DB_USER: postgres
|
||||
DB_PASS: pezkuwi_subquery_2024
|
||||
DB_DATABASE: postgres
|
||||
DB_HOST: postgres
|
||||
DB_PORT: 5432
|
||||
command:
|
||||
- --name=subquery-pezkuwi-assethub
|
||||
- --playground
|
||||
- --indexer=http://subquery-node-assethub:3000
|
||||
|
||||
noter-bot:
|
||||
container_name: noter-pezkuwi
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user