Created
August 23, 2022 10:12
-
-
Save adamazad/e0a145ee43e4e5cee87745cee9197a25 to your computer and use it in GitHub Desktop.
Run Local Graph Node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
graph-node: | |
image: graphprotocol/graph-node:v0.27.0 | |
ports: | |
- '8000:8000' | |
- '8001:8001' | |
- '8020:8020' | |
- '8030:8030' | |
- '8040:8040' | |
depends_on: | |
- ipfs | |
- postgres | |
environment: | |
postgres_host: postgres | |
postgres_user: graph-node | |
postgres_pass: let-me-in | |
postgres_db: graph-node | |
ipfs: 'ipfs:5001' | |
ethereum: 'xdai:https://rpc.gnosischain.com' | |
RUST_LOG: info | |
GRAPH_LOG: debug | |
RUST_LOG_STYLE: always | |
ipfs: | |
image: ipfs/go-ipfs:v0.4.23 | |
ports: | |
- '5001:5001' | |
postgres: | |
image: postgres | |
ports: | |
- '5432:5432' | |
command: ['postgres', '-cshared_preload_libraries=pg_stat_statements'] | |
environment: | |
POSTGRES_USER: graph-node | |
POSTGRES_PASSWORD: let-me-in | |
POSTGRES_DB: graph-node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment