-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
43 lines (39 loc) · 1.02 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
version: "3"
services:
codechain-indexer:
build: .
ports:
- "8081:8081"
depends_on:
- codechain
- elasticsearch
environment:
- CODECHAIN_HOST=http://codechain:8080
- ELASTICSEARCH_HOST=http://elasticsearch:9200
- WAIT_COMMAND=[ $$(curl --write-out %{http_code} --silent --output /dev/null http://elasticsearch:9200/_cat/health?h=st) = 200 ]
- WAIT_SLEEP=2
- WAIT_LOOPS=20
codechain:
image: kodebox/codechain:25b8af1dd5945c9a71ce4523375a391ee390e547
ports:
- "8080:8080"
command:
- -c=solo
- --jsonrpc-interface=0.0.0.0
- --db-path=codechaindata:/db
- --reseal-min-period=0
volumes:
- codechaindata:/db
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.3
environment:
- ES_HOSTS=0.0.0.0:9200
volumes:
- esdata:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana-oss:6.4.3
ports:
- "5601:5601"
volumes:
? codechaindata
? esdata