-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (41 loc) · 1020 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3'
services:
graph-node:
image: graphprotocol/graph-node:2e0dc0b # TODO: change to latest once it has 0.0.5
ports:
- '18000:8000'
- '18001:8001'
- '18020:8020'
- '18030:8030'
- '18040:8040'
depends_on:
- ipfs
- ethereum
- postgres
environment:
postgres_host: postgres
postgres_user: graph
postgres_pass: let-me-in
postgres_db: graph
ipfs: 'ipfs:5001'
ethereum: 'test:http://ethereum:8545'
GRAPH_LOG: trace
GRAPH_MAX_API_VERSION: '0.0.5' # TODO: remove once latest has 0.0.5 by default
ethereum:
image: trufflesuite/ganache-cli:latest
ports:
- '18545:8545'
- '18546:8546'
command: -d -l 100000000000 -g 1 --noVMErrorsOnRPCResponse
ipfs:
image: ipfs/go-ipfs:v0.4.23
ports:
- '15001:5001'
postgres:
image: postgres
ports:
- '15432:5432'
environment:
POSTGRES_USER: graph
POSTGRES_PASSWORD: let-me-in
POSTGRES_DB: graph