-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (44 loc) · 1.08 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
version: "3"
services:
elasticsearch:
image: elasticsearch:8.4.3
restart: unless-stopped
environment:
- discovery.type=single-node
- xpack.security.enabled=false
ports:
- "127.0.0.1:9200:9200"
#volumes:
#- ./data/elasticsearch:/usr/share/elasticsearch/data
kibana:
image: kibana:8.4.3
restart: unless-stopped
ports:
- "5601:5601"
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
- xpack.security.enabled=false
logstash:
image: logstash:8.4.3
restart: unless-stopped
links:
- elasticsearch
volumes:
- ./config-dir:/config-dir:ro
command: logstash --path.settings=/config-dir
depends_on:
init:
condition: service_completed_successfully
ports:
- "5044:5044"
- "5045:5045"
init:
image: ubuntu
entrypoint: /bin/sh
volumes:
- /usr/share/metricbeat/:/usr/share/metricbeat/:ro
- /usr/bin/metricbeat:/usr/bin/metricbeat:ro
- /etc/metricbeat/metricbeat.yml:/etc/metricbeat/metricbeat.yml:ro
- .:/EnoELK:ro
command:
- /EnoELK/setup.sh