-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
59 lines (53 loc) · 1.41 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
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1
environment:
discovery.type: single-node
cluster.name: workflow.elasticsearch
ES_JAVA_OPTS: -Xms512m -Xmx2048m
ELASTIC_PASSWORD: '$ES_PASS'
xpack.security.enabled: 'true'
logging:
driver: 'json-file'
options:
max-size: '50m'
max-file: '10'
ports:
- 9200:9200
- 9300:9300
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.17.1
depends_on:
- elasticsearch
environment:
LOGGING_QUIET: 'true'
ELASTICSEARCH_USERNAME: '$ES_USER'
ELASTICSEARCH_PASSWORD: '$ES_PASS'
logging:
driver: 'json-file'
options:
max-size: '50m'
max-file: '10'
ports:
- 5601:5601
arranger-server:
build:
context: ./
dockerfile: ./docker/Dockerfile.local
target: server
container_name: arranger-server.local
environment:
ENABLE_LOGS: '${ENABLE_LOGS:-false}'
ES_HOST: '${ES_HOST:-http://host.docker.internal:9200}'
ES_USER: '$ES_USER'
ES_PASS: '$ES_PASS'
ports:
- 5050:5050
volumes:
- '${CONFIG_PATH:-./docker/server}:/app/modules/server/configs'