-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 880 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 880 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
version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.1
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
logstash:
image: docker.elastic.co/logstash/logstash:7.6.1
environment:
- xpack.monitoring.elasticsearch.hosts=http://es01:9200
volumes:
- ./docker-configs/logstash/pipeline/:/usr/share/logstash/pipeline/
ports:
- 45600:45600
kib01:
image: docker.elastic.co/kibana/kibana:7.6.1
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://es01:9200
ELASTICSEARCH_HOSTS: http://es01:9200
volumes:
data01: