Skip to content

Instantly share code, notes, and snippets.

@86b
Created August 27, 2021 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 86b/fbb58c328e9f9c3e1a94d1a846e7be5c to your computer and use it in GitHub Desktop.
Save 86b/fbb58c328e9f9c3e1a94d1a846e7be5c to your computer and use it in GitHub Desktop.
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