-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (50 loc) · 1.29 KB
/
Copy pathdocker-compose.yml
File metadata and controls
53 lines (50 loc) · 1.29 KB
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
services:
ipfs:
image: ipfs/go-ipfs:latest
ports:
- "5001:5001"
volumes:
- graph-ipfs:/data/ipfs
profiles: [graph]
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: "graph-node"
POSTGRES_USER: "graph-node"
POSTGRES_DB: "graph-node"
POSTGRES_INITDB_ARGS: "--locale=C --encoding=UTF8"
LC_COLLATE: "C"
LC_CTYPE: "C"
ports:
- "5432:5432"
volumes:
- graph-postgres:/var/lib/postgresql/data
profiles: [graph]
graph-node:
image: graphprotocol/graph-node
platform: linux/amd64
ports:
- "8050:8000"
- "8051:8001"
- "8070:8020"
- "8080:8030"
- "8090:8040"
depends_on:
- ipfs
- postgres
environment:
postgres_host: postgres
postgres_user: graph-node
postgres_pass: graph-node
postgres_db: graph-node
ipfs: "ipfs:5001"
# LOCAL TEST ethereum: "subevm:http://host.docker.internal:9944"
# PROD-NOT WORKING ethereum: "subevm:wss://api.taostats.io/api/v1/rpc/ws/finney_archive?authorization=${TAOSTATS_PRO_API_KEY}"
ethereum: "subevm:https://archive.chain.opentensor.ai"
GRAPH_LOG: info
extra_hosts:
- "host.docker.internal:host-gateway"
profiles: [graph]
volumes:
graph-ipfs:
graph-postgres: