Nabarun
a322d6eed4
Some checks failed
Lint Checks / Run linter (push) Successful in 1m5s
Publish / Build and publish (push) Successful in 2m27s
Webapp Test / Run webapp test suite (push) Successful in 7m1s
Smoke Test / Run basic test suite (push) Successful in 7m30s
Deploy Test / Run deploy test suite (push) Successful in 9m23s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 24m12s
Fixturenet-Eth-Plugeth-Test / Run an Ethereum plugeth fixturenet test (push) Failing after 51m33s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 6m56s
Fixturenet-Eth-Plugeth-Arm-Test / Run an Ethereum plugeth fixturenet test (push) Failing after 1h40m25s
Database Test / Run database hosting test on kind/k8s (push) Successful in 9m3s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Successful in 4m4s
External Stack Test / Run external stack test suite (push) Successful in 4m31s
Part of [Deploy v2 and updated v3 sushiswap subgraphs](https://www.notion.so/Deploy-v2-and-updated-v3-sushiswap-subgraphs-e331945fdeea487c890706fc22c6cc94) - Add param `GRAPH_ETHEREUM_BLOCK_INGESTOR_MAX_CONCURRENT_JSON_RPC_CALLS_FOR_TXN_RECEIPTS` in graph-node stack - <https://github.com/graphprotocol/graph-node/blob/v0.31.0/docs/environment-variables.md#json-rpc-configuration-for-evm-chains> - Add dashboard for subgraphs deployment in graph-node - Show subgraph names in dashboard - Add watcher dashboard panel for showing watcher release version and commit hash Reviewed-on: #832 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
78 lines
2.2 KiB
YAML
78 lines
2.2 KiB
YAML
services:
|
|
graph-node:
|
|
image: cerc/graph-node:local
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
ipfs:
|
|
condition: service_healthy
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
environment:
|
|
ipfs: ipfs:5001
|
|
postgres_host: db
|
|
postgres_port: 5432
|
|
postgres_user: graph-node
|
|
postgres_pass: password
|
|
postgres_db: graph-node
|
|
ethereum: ${ETH_NETWORKS:-lotus-fixturenet:http://lotus-node-1:1234/rpc/v1}
|
|
# Env varaibles reference: https://git.vdb.to/cerc-io/graph-node/src/branch/master/docs/environment-variables.md
|
|
GRAPH_LOG: debug
|
|
ETHEREUM_REORG_THRESHOLD: 3
|
|
GRAPH_ETHEREUM_JSON_RPC_TIMEOUT: ${GRAPH_ETHEREUM_JSON_RPC_TIMEOUT:-180}
|
|
GRAPH_ETHEREUM_REQUEST_RETRIES: ${GRAPH_ETHEREUM_REQUEST_RETRIES:-10}
|
|
GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE: ${GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE:-2000}
|
|
GRAPH_ETHEREUM_BLOCK_INGESTOR_MAX_CONCURRENT_JSON_RPC_CALLS_FOR_TXN_RECEIPTS: ${GRAPH_ETHEREUM_BLOCK_INGESTOR_MAX_CONCURRENT_JSON_RPC_CALLS_FOR_TXN_RECEIPTS:-1000}
|
|
entrypoint: ["bash", "-c"]
|
|
# Wait for ETH RPC endpoint to be up when running with fixturenet-lotus
|
|
command: |
|
|
"wait_for ${ETH_RPC_HOST:-lotus-node-1}:${ETH_RPC_PORT:-1234} -t 1800 -- start"
|
|
ports:
|
|
- "8000"
|
|
- "8001"
|
|
- "8020"
|
|
- "8030"
|
|
- "8040"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "localhost", "8020"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 10
|
|
start_period: 3s
|
|
ipfs:
|
|
image: ipfs/kubo:master-2023-02-20-714a968
|
|
volumes:
|
|
- ipfs-import:/import
|
|
- ipfs-data:/data/ipfs
|
|
ports:
|
|
- "8080"
|
|
- "4001"
|
|
- "5001"
|
|
db:
|
|
image: postgres:14-alpine
|
|
volumes:
|
|
- db-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: "graph-node"
|
|
POSTGRES_DB: "graph-node"
|
|
POSTGRES_PASSWORD: "password"
|
|
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
|
|
command:
|
|
[
|
|
"postgres",
|
|
"-cshared_preload_libraries=pg_stat_statements"
|
|
]
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-v", "localhost", "5432"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 10
|
|
start_period: 3s
|
|
ports:
|
|
- "5432"
|
|
|
|
volumes:
|
|
ipfs-import:
|
|
ipfs-data:
|
|
db-data:
|