-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
55 lines (53 loc) · 1.18 KB
/
docker-compose.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3"
services:
graph-node:
image: venoox/graph-node:main
restart: always
ports:
- 8000:8000
- 8001:8001
- 8020:8020
volumes:
- geth_data:/ethereum/
environment:
POSTGRES_HOST: db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: graph-node
IPFS_HOST: ipfs
RPC_URI_SCHEME: http
RPC_HOST: eth-node
RPC_PORT: 8545
RPC_NETWORK: mainnet
RPC_CAPABILITIES: full
depends_on:
- ipfs
- db
- eth-node
ipfs:
image: ipfs/go-ipfs:v0.11.0
restart: always
environment:
IPFS_PROFILE: server
IPFS_PATH: /ipfsdata
volumes:
- ipfs_data:/ipfsdata
db:
image: postgres:14-bullseye
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: graph-node
eth-node:
image: ethereum/client-go:v1.10.14
restart: always
volumes:
- geth_data:/root/.ethereum/
command: ["-http", "-http.port", "8545", "--http.addr", "0.0.0.0", "--http.vhosts", "*"]
volumes:
geth_data:
postgres_data:
ipfs_data: