Skip to content

Commit

Permalink
Update Docker containers and endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbayly committed Nov 10, 2024
1 parent c72e425 commit 7a1af0f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 27 deletions.
41 changes: 20 additions & 21 deletions Multi-chain/transfers/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
retries: 5

subquery-node-polkadot:
image: subquerynetwork/subql-node:latest
image: subquerynetwork/subql-node-substrate:latest
depends_on:
"postgres":
condition: service_healthy
Expand Down Expand Up @@ -47,7 +47,7 @@ services:
retries: 10

subquery-node-kusama:
image: subquerynetwork/subql-node:latest
image: subquerynetwork/subql-node-substrate:latest
depends_on:
"postgres":
condition: service_healthy
Expand All @@ -74,26 +74,8 @@ services:
interval: 3s
timeout: 5s
retries: 10

graphql-engine:
image: subquerynetwork/subql-query:latest
ports:
- 3000:3000
depends_on:
"postgres":
condition: service_healthy
restart: unless-stopped
environment:
DB_USER: postgres
DB_PASS: postgres
DB_DATABASE: postgres
DB_HOST: postgres
DB_PORT: 5432
command:
- --name=multi-transfers
- --playground
subquery-node-project-assethub:
image: subquerynetwork/subql-node:latest
image: subquerynetwork/subql-node-substrate:latest
depends_on:
postgres:
condition: service_healthy
Expand All @@ -120,3 +102,20 @@ services:
interval: 3s
timeout: 5s
retries: 10
graphql-engine:
image: subquerynetwork/subql-query:latest
ports:
- 3000:3000
depends_on:
"postgres":
condition: service_healthy
restart: unless-stopped
environment:
DB_USER: postgres
DB_PASS: postgres
DB_DATABASE: postgres
DB_HOST: postgres
DB_PORT: 5432
command:
- --name=multi-transfers
- --playground
4 changes: 2 additions & 2 deletions Multi-chain/transfers/project-assethub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ network:
chainId: "0x68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f"
endpoint:
[
"wss://statemint.api.onfinality.io/public-ws",
"wss://statemint-rpc.polkadot.io",
"wss://rpc-asset-hub-polkadot.luckyfriday.io",
"wss://asset-hub-polkadot-rpc.dwellir.com",
]
dataSources:
- kind: substrate/Runtime
Expand Down
5 changes: 4 additions & 1 deletion Multi-chain/transfers/project-kusama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ schema:
network:
chainId: "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe"
endpoint:
["wss://kusama.api.onfinality.io/public-ws", "wss://kusama-rpc.polkadot.io"]
[
"wss://kusama.rpc.subquery.network/public-ws",
"wss://kusama-rpc.dwellir.com",
]
dataSources:
- kind: substrate/Runtime
startBlock: 1
Expand Down
5 changes: 4 additions & 1 deletion Multi-chain/transfers/project-polkadot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ schema:
network:
chainId: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3"
endpoint:
["wss://polkadot.api.onfinality.io/public-ws", "wss://rpc.polkadot.io"]
[
"wss://polkadot.rpc.subquery.network/public-ws",
"wss://polkadot-rpc.dwellir.com",
]
dataSources:
- kind: substrate/Runtime
startBlock: 1
Expand Down
4 changes: 2 additions & 2 deletions Multi-chain/transfers/subquery-multichain.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
specVersion: 1.0.0
query:
name: "@subql/query"
version: "*"
name: '@subql/query'
version: '*'
projects:
- project-kusama.yaml
- project-polkadot.yaml
Expand Down

0 comments on commit 7a1af0f

Please sign in to comment.