diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 18405edc3ce..261a6a87fdd 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: graph-node: - image: graphprotocol/graph-node + image: graphprotocol/graph-node:753cee7 ports: - '8000:8000' - '8001:8001' @@ -10,25 +10,27 @@ services: - '8040:8040' depends_on: - ipfs - - postgres + - postgres-graph environment: - postgres_host: postgres + postgres_host: postgres-graph postgres_user: graph-node postgres_pass: let-me-in postgres_db: graph-node ipfs: 'ipfs:5001' - ethereum: 'mainnet:http://host.docker.internal:8545' - GRAPH_LOG: info + ethereum: 'godwoken-testnet:no_eip1898,archive,traces:http://godwoken-testnet-web3-rpc.ckbapp.dev' + GRAPH_LOG: debug + GRAPH_GETH_ETH_CALL_ERRORS: 'invalid exit code 2;' + GRAPH_EXPERIMENTAL_FETCH_TXN_RECEIPTS_CONCURRENTLY: 'true' ipfs: image: ipfs/go-ipfs:v0.4.23 ports: - '5001:5001' volumes: - ./data/ipfs:/data/ipfs - postgres: + postgres-graph: image: postgres ports: - - '5432:5432' + - '5400:5432' command: ["postgres", "-cshared_preload_libraries=pg_stat_statements"] environment: POSTGRES_USER: graph-node