This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (71 loc) · 1.67 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3'
volumes:
node_modules:
services:
deploy-subgraph:
build: .
image: deploy-subgraph
volumes:
- .:/app
- node_modules:/app/node_modules
depends_on:
graph-node:
condition: service_started
environment:
MODE: dev
ENSONET_URL: http://ensonet:3000
GRAPH_ADMIN_URL: http://graph-node:8020
IPFS_URL: http://ipfs:5001
ensonet:
image: ensoassociation/ensonet
ports:
- 3000:3000
environment:
PORT: 3000
INFURA_API_KEY: ${INFURA_API_KEY}
MNEMONIC: "${MNEMONIC}"
ARCHIVE_NODE: ${ARCHIVE_NODE}
LOG: quiet
secrets:
- ssh_key
healthcheck:
test: "wget -q localhost:3000/api/deployments -O - | grep v1-core"
interval: "10s"
timeout: "15s"
start_period: "4m"
retries: 24
graph-node:
image: graphprotocol/graph-node:v0.26.0
ports:
- '8000:8000'
- '8020:8020'
depends_on:
ipfs:
condition: service_started
postgres:
condition: service_started
ensonet:
condition: service_healthy
environment:
postgres_host: postgres
postgres_user: graph-node
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: ipfs:5001
ethereum: 'mainnet:http://ensonet:3000'
GRAPH_LOG: info
GRAPH_ALLOW_NON_DETERMINISTIC_FULLTEXT_SEARCH: "true"
GRAPH_ETHEREUM_CLEANUP_BLOCKS: "true"
ipfs:
image: ipfs/go-ipfs:v0.12.1
ports:
- '5001:5001'
postgres:
image: postgres
environment:
POSTGRES_USER: graph-node
POSTGRES_PASSWORD: let-me-in
POSTGRES_DB: graph-node
secrets:
ssh_key:
file: ~/.ssh/ensonet