This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
124 lines (115 loc) · 3.06 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: '3.2'
services:
dapptools:
restart: unless-stopped
image: vulcanize/dapptools:v0.29.0-statediff-0.0.2
ports:
- "127.0.0.1:8545:8545"
- "127.0.0.1:8546:8546"
eth-indexer:
restart: unless-stopped
depends_on:
- indexer-db
- dapptools
image: vulcanize/ipld-eth-indexer:v0.3.0-alpha
environment:
DATABASE_NAME: vulcanize_public
DATABASE_HOSTNAME: indexer-db
DATABASE_PORT: 5432
DATABASE_USER: vdbm
DATABASE_PASSWORD: password
ETH_WS_PATH: "dapptools:8546"
ETH_HTTP_PATH: "dapptools:8545"
ETH_CHAIN_ID: 4
ETH_NETWORK_ID: 4
VDB_COMMAND: sync
eth-server:
depends_on:
- indexer-db
- eth-indexer
image: vulcanize/ipld-eth-server:v0.0.13
environment:
VDB_COMMAND: serve
DATABASE_NAME: vulcanize_public
DATABASE_HOSTNAME: indexer-db
DATABASE_PORT: 5432
DATABASE_USER: vdbm
DATABASE_PASSWORD: password
SERVER_WS_PATH: "0.0.0.0:8080"
SERVER_HTTP_PATH: "0.0.0.0:8081"
LOGRUS_LEVEL: debug
ports:
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"
indexer-db:
restart: unless-stopped
image: postgres:10.12-alpine
environment:
- POSTGRES_USER=vdbm
- POSTGRES_DB=vulcanize_public
- POSTGRES_PASSWORD=password
volumes:
- indexer_db_data:/var/lib/postgresql/data
ports:
- "127.0.0.1:8069:5432"
contact-watcher-db:
restart: unless-stopped
image: postgres:10.12-alpine
environment:
- POSTGRES_USER=vdbm
- POSTGRES_DB=vulcanize_public
- POSTGRES_PASSWORD=password
volumes:
- contact_watcher_db_data:/var/lib/postgresql/data
ports:
- "127.0.0.1:8068:5432"
eth-header-sync:
restart: unless-stopped
depends_on:
- contact-watcher-db
image: vulcanize/eth-header-sync:v0.1.1
volumes:
- ./environments/header_sync.toml:/app/config.toml
environment:
- STARTING_BLOCK_NUMBER=1
- VDB_COMMAND=sync
- DATABASE_NAME=vulcanize_public
- DATABASE_HOSTNAME=contact-watcher-db
- DATABASE_PORT=5432
- DATABASE_USER=vdbm
- DATABASE_PASSWORD=password
eth-contract-watcher:
depends_on:
- contact-watcher-db
build:
context: ""
cache_from:
- alpine:latest
- golang:1.13
dockerfile: Dockerfile
volumes:
- ./environments/example.toml:/app/config.toml
environment:
- VDB_COMMAND=watch
- DATABASE_NAME=vulcanize_public
- DATABASE_HOSTNAME=contact-watcher-db
- DATABASE_PORT=5432
- DATABASE_USER=vdbm
- DATABASE_PASSWORD=password
contract-watcher-graphql:
restart: unless-stopped
depends_on:
- contact-watcher-db
image: vulcanize/postgraphile:v1.0.1
environment:
- PG_HOST=contact-watcher-db
- PG_PORT=5432
- PG_DATABASE=vulcanize_public
- PG_USER=vdbm
- PG_PASSWORD=password
- SCHEMA=public,header_0xd850942ef8811f2a866692a623011bde52a462c1
ports:
- "127.0.0.1:5000:5000"
volumes:
contact_watcher_db_data:
indexer_db_data: