-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (51 loc) · 1.33 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
45
46
47
48
49
50
51
52
53
54
55
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.3
container_name: elasticsearch
environment:
- discovery.type=single-node
- cluster.name=docker-elasticsearch
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data-standalone:/usr/share/elasticsearch/data
healthcheck:
test: ["CMD", "curl", "-s", "http://localhost:9200"]
interval: 10s
timeout: 5s
ports:
- 9201:9200
networks:
- elastic-standalone
logstash:
image: docker.elastic.co/logstash/logstash:7.13.3
container_name: logstash
volumes:
- ./logstash/logstash.conf:/usr/share/logstash/pipeline/logstash.conf
- ./logstash/202401_PEP.csv:/202401_PEP.csv
- ./logstash/mapping.json:/mapping.json
depends_on:
- elasticsearch
command: logstash -f /usr/share/logstash/pipeline/logstash.conf
networks:
- elastic-standalone
kibana:
image: docker.elastic.co/kibana/kibana:7.13.3
container_name: kibana
ports:
- 5601:5601
depends_on:
- elasticsearch
- logstash
networks:
- elastic-standalone
volumes:
data-standalone:
driver: local
networks:
elastic-standalone:
driver: bridge