-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose-local-node.yaml.template
63 lines (55 loc) · 1.31 KB
/
docker-compose-local-node.yaml.template
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
version: "3.4"
x-logging:
&default-logging
options:
max-size: '50m'
max-file: '1'
driver: json-file
x-extended-logging:
&extended-logging
options:
max-size: '500m'
max-file: '1'
driver: json-file
services:
mongodb:
image: mongo:4.0-xenial
volumes:
- {{MONGO_DATA_DIR}}:/data/db
entrypoint: mongod --smallfiles --bind_ip "0.0.0.0"
logging: *extended-logging
ports:
- 27017:27017
syncer:
image: councilbox/quorum-explorer-syncer
logging: *default-logging
environment:
- MONGO_HOST=localhost
- QUORUM_ENDPOINTS={{QUORUM_ENDPOINTS}}
network_mode: "host"
depends_on:
- mongodb
metrics:
image: councilbox/quorum-explorer-metrics
logging: *default-logging
volumes:
- ./synced-data:/opt/catenae/synced-data
depends_on:
- mongodb
http-api:
image: councilbox/quorum-explorer-http-api
ports:
- {{API_PORT}}:8080
environment:
- QUORUM_ENDPOINTS={{QUORUM_ENDPOINTS}}
- EXTRA_DATA_FORMAT=ibft
logging: *default-logging
depends_on:
- mongodb
webapp:
image: councilbox/quorum-explorer-webapp:{{WEBAPP_VERSION}}
ports:
- {{EXPLORER_PORT}}:80
environment:
- API_URL=http{{SSL}}://{{API_DOMAIN}}:{{EXTERNAL_API_PORT}}
logging: *default-logging