-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
71 lines (65 loc) · 1.63 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
version: '3.2'
services:
dapptools:
restart: unless-stopped
image: vulcanize/dapptools:v0.29.0-statediff-0.0.6
environment:
DB_USER: vdbm
DB_NAME: indexer
DB_HOST: indexer-db
DB_PORT: 5432
DB_PASSWORD: password
ports:
- "127.0.0.1:8545:8545"
# - "127.0.0.1:8546:8546"
migrations:
restart: on-failure
depends_on:
- indexer-db
image: vulcanize/statediff-migrations:v0.3.0
environment:
DATABASE_USER: vdbm
DATABASE_NAME: indexer
DATABASE_HOSTNAME: indexer-db
DATABASE_PORT: 5432
DATABASE_PASSWORD: password
indexer-db:
restart: unless-stopped
image: postgres:10.12-alpine
environment:
- POSTGRES_USER=vdbm
- POSTGRES_DB=indexer
- POSTGRES_PASSWORD=password
volumes:
- indexer_db_data:/var/lib/postgresql/data
ports:
- "127.0.0.1:8069:5432"
indexer-graphql:
restart: unless-stopped
depends_on:
- indexer-db
image: vulcanize/postgraphile:v1.0.1
environment:
- PG_HOST=indexer-db
- PG_PORT=5432
- PG_DATABASE=indexer
- PG_USER=vdbm
- PG_PASSWORD=password
- SCHEMA=public,eth
ports:
- "127.0.0.1:5000:5000"
watcher-db:
restart: unless-stopped
image: postgres:10.12-alpine
environment:
POSTGRES_USER: "vdbm"
POSTGRES_DB: "vulcanize_public"
POSTGRES_PASSWORD: "password"
command: ["postgres", "-c", "log_statement=all", "-N", "500"]
volumes:
- contract_watcher_js_db_data:/var/lib/postgresql/data
ports:
- "127.0.0.1:8070:5432"
volumes:
contract_watcher_js_db_data:
indexer_db_data: