Skip to content

Instantly share code, notes, and snippets.

@86b
Created Aug 27, 2021
Embed
What would you like to do?
OracleGen Config Info
# from docker-compose
version: '3'
services:
index-node-1:
image: graphprotocol/graph-node:v0.23.1
environment:
postgres_host: ${PGHOST}
postgres_user: ${PGUSER}
postgres_pass: ${PGPASS}
postgres_db: ${PGDB}
ipfs: ${IPFS}
ethereum: ${OPENETH}
node_role: index-node
node_id: index_node_1
BLOCK_INGESTOR: index_node_1
RUST_LOG: info
GRAPH_ALLOW_NON_DETERMINISTIC_FULLTEXT_SEARCH: 'true'
EXPERIMENTAL_SUBGRAPH_VERSION_SWITCHING_MODE: instant
STORE_CONNECTION_POOL_SIZE: 10
ETHEREUM_TRACE_STREAM_STEP_SIZE: 50
ETHEREUM_BLOCK_BATCH_SIZE: 200
ETHEREUM_RPC_MAX_PARALLEL_REQUESTS: 64
GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE: 500
GRAPH_ETHEREUM_TARGET_TRIGGERS_PER_BLOCK_RANGE: 5000
index-node-2:
image: graphprotocol/graph-node:v0.23.1
environment:
postgres_host: ${PGHOST}
postgres_user: ${PGUSER}
postgres_pass: ${PGPASS}
postgres_db: ${PGDB}
ipfs: ${IPFS}
ethereum: ${GETH}
node_role: index-node
node_id: index_node_2
BLOCK_INGESTOR: index_node_1
RUST_LOG: info
GRAPH_ALLOW_NON_DETERMINISTIC_FULLTEXT_SEARCH: 'true'
EXPERIMENTAL_SUBGRAPH_VERSION_SWITCHING_MODE: instant
STORE_CONNECTION_POOL_SIZE: 10
ETHEREUM_TRACE_STREAM_STEP_SIZE: 50
ETHEREUM_BLOCK_BATCH_SIZE: 200
ETHEREUM_RPC_MAX_PARALLEL_REQUESTS: 64
GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE: 500
GRAPH_ETHEREUM_TARGET_TRIGGERS_PER_BLOCK_RANGE: 5000
# openethereum
openethereum:
image: openethereum/openethereum:v3.3.0-rc.7
# geth
ethereum:
image: ethereum/client-go:v1.10.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment