-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (41 loc) · 975 Bytes
/
docker-compose.yaml
File metadata and controls
45 lines (41 loc) · 975 Bytes
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
version: '3.9'
services:
elasticsearch:
image: elasticsearch:8.6.0
ports:
- "9200:9200"
environment:
- xpack.security.enabled=false
- discovery.type=single-node
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
interval: 5s
timeout: 5s
kibana:
image: kibana:8.6.0
ports:
- "5601:5601"
depends_on:
elasticsearch:
condition: service_healthy
logstash:
image: logstash:8.6.0
ports:
- "5000:5000"
volumes:
- ./logstash.conf:/usr/share/logstash/pipeline/logstash.conf
command: logstash -f /usr/share/logstash/pipeline/logstash.conf
links:
- elasticsearch
depends_on:
elasticsearch:
condition: service_healthy
log-generator:
build:
context: .
dockerfile: Dockerfile
links:
- logstash
depends_on:
elasticsearch:
condition: service_healthy