2021-04-09 11:44:50 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
graph-node:
|
2022-06-15 16:59:25 +02:00
|
|
|
image: graphprotocol/graph-node:v0.26.0
|
2021-04-09 11:44:50 +02:00
|
|
|
ports:
|
|
|
|
- '9000:8000'
|
|
|
|
- '9001:8001'
|
|
|
|
- '9020:8020'
|
|
|
|
- '9030:8030'
|
|
|
|
- '9040:8040'
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.15
|
|
|
|
depends_on:
|
|
|
|
- ipfs
|
|
|
|
- postgres
|
|
|
|
- ocean-contracts
|
|
|
|
environment:
|
|
|
|
postgres_host: 172.15.0.17
|
|
|
|
postgres_user: graph-node
|
|
|
|
postgres_pass: let-me-in
|
|
|
|
postgres_db: graph-node
|
|
|
|
ipfs: '172.15.0.16:5001'
|
2022-02-12 14:18:59 +01:00
|
|
|
ethereum: 'development:${NETWORK_RPC_URL}'
|
2021-04-09 11:44:50 +02:00
|
|
|
RUST_LOG: info
|
|
|
|
postgres:
|
|
|
|
image: postgres
|
|
|
|
ports:
|
|
|
|
- '5432:5432'
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.17
|
|
|
|
command: ['postgres', '-cshared_preload_libraries=pg_stat_statements']
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: graph-node
|
|
|
|
POSTGRES_PASSWORD: let-me-in
|
|
|
|
POSTGRES_DB: graph-node
|
|
|
|
volumes:
|
|
|
|
- graphpgsql:/var/lib/postgresql/data
|
2022-02-12 17:34:01 +01:00
|
|
|
subgraph:
|
|
|
|
image: oceanprotocol/subgraph:${SUBGRAPH_VERSION:-latest}
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.19
|
|
|
|
environment:
|
|
|
|
DEPLOY_SUBGRAPH: ${DEPLOY_SUBGRAPH}
|
|
|
|
depends_on:
|
|
|
|
- graph-node
|
|
|
|
- ocean-contracts
|
|
|
|
volumes:
|
|
|
|
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
|
2021-04-09 11:44:50 +02:00
|
|
|
volumes:
|
|
|
|
graphpgsql:
|
|
|
|
|
2022-02-12 17:34:01 +01:00
|
|
|
|
|
|
|
|