Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (69 loc) · 1.72 KB
/
Copy pathdocker-compose.yml
File metadata and controls
74 lines (69 loc) · 1.72 KB
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
72
73
74
networks:
arranger:
driver: bridge
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.28
container_name: elasticsearch.local
environment:
discovery.type: single-node
cluster.name: workflow.elasticsearch
ES_JAVA_OPTS: -Xms512m -Xmx2048m
ELASTIC_PASSWORD: "$ES_PASS"
xpack.security.enabled: "true"
healthcheck:
test: "curl --silent --fail localhost:9200/_cluster/health?wait_for_status=yellow&timeout=50s || exit 1"
interval: 1m30s
timeout: 50s
retries: 5
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "10"
networks:
- arranger
ports:
- 9200:9200
- 9300:9300
kibana:
image: docker.elastic.co/kibana/kibana:7.17.29
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
server:
build:
context: ./
dockerfile: ./docker/Dockerfile.local
target: search-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:-elastic}"
ES_PASS: "${ES_PASS:-badpassword}"
networks:
- arranger
ports:
- 5050:5050
volumes:
- "${CONFIGS_PATH:-./docker/server}:/app/configs"
ui:
image: ghcr.io/overture-stack/stage:edge
container_name: stage.local
depends_on:
- server
networks:
- arranger
ports:
- "3000:3000"