-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
43 lines (40 loc) · 1023 Bytes
/
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
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.24
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
ES_JAVA_OPTS: -Xms512m -Xmx512m
ports:
- 9200:9200
- 9300:9300
networks:
- foundatio
healthcheck:
interval: 2s
retries: 10
test: curl -s http://localhost:9200/_cluster/health | grep -vq '"status":"red"'
kibana:
depends_on:
elasticsearch:
condition: service_healthy
image: docker.elastic.co/kibana/kibana:7.17.24
ports:
- 5601:5601
networks:
- foundatio
healthcheck:
interval: 2s
retries: 20
test: curl --write-out 'HTTP %{http_code}' --fail --silent --output /dev/null http://localhost:5601/api/status
ready:
image: andrewlock/wait-for-dependencies
command: elasticsearch:9200
depends_on:
- elasticsearch
networks:
- foundatio
networks:
foundatio:
driver: bridge
name: foundatio