forked from overture-stack/arranger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (63 loc) · 1.44 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
version: "3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.0
ports:
- 9200:9200
- 9300:9300
volumes:
- ./docker/volumes/elasticsearch/data:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
- cluster.name=workflow.elasticsearch
- "ES_JAVA_OPTS=-Xms512m -Xmx2048m"
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "10"
healthcheck:
test: "curl --silent --fail localhost:9200/_cluster/health?wait_for_status=yellow&timeout=50s || exit 1"
interval: 1m30s
timeout: 50s
retries: 5
kibana:
image: docker.elastic.co/kibana/kibana:7.5.0
ports:
- 5601:5601
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "10"
depends_on:
- elasticsearch
environment:
LOGGING_QUIET: "true"
arranger-server:
build:
context: ./
dockerfile: server.Dockerfile
container_name: arranger-server.local
depends_on:
- elasticsearch
ports:
- 5050:5050
environment:
ES_HOST: http://elasticsearch:9200
arranger-ui:
build:
context: ./
dockerfile: ui.Dockerfile
hostname: arranger-ui.local
container_name: arranger-ui.local
depends_on:
- arranger-server
ports:
- 8080:8080
- 8081:8081
volumes:
es:
driver: local
networks:
es: