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:
2026-02-18 04:07:45 +03:00
parent 1c79402d5c
commit 7b58fa0e4a
3 changed files with 63 additions and 2 deletions
+19 -1
View File
@@ -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: