-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (54 loc) · 1.68 KB
/
docker-compose.yml
File metadata and controls
54 lines (54 loc) · 1.68 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
services:
gateway:
build:
context: ./nginx
restart: always
ports:
- ${LOGSTASH_EXTERNAL_PORT:-5044}:5044
- ${KIBANA_EXTERNAL_PORT:-5601}:5601
- ${ELASTICSEARCH_EXTERNAL_PORT:-9200}:9200
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:5.5.1
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5601"]
interval: 15s
timeout: 10s
retries: 10
environment:
#https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
- XPACK_SECURITY_ENABLED=false
- XPACK_MONITORING_ENABLED=false
- XPACK_GRAPH_ENABLED=false
- XPACK_REPORTING_ENABLED=false
- XPACK_ML_ENABLED=false
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
restart: always
volumes:
- elastic-data:/usr/share/elasticsearch/data
healthcheck:
test: ["CMD", "curl", "-f" ,"http://localhost:9200"]
interval: 30s
timeout: 10s
retries: 10
environment:
#https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
- http.host=0.0.0.0
- transport.host=127.0.0.1
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- xpack.ml.enabled=false
- xpack.watcher.enabled=false
logstash:
build:
context: ./logstash
restart: always
environment:
#https://www.elastic.co/guide/en/x-pack/current/xpack-settings.html
- XPACK_MONITORING_ENABLED=false
version: "3"
volumes:
elastic-data: ~