-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 1.01 KB
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (37 loc) · 1.01 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
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION}
container_name: elasticsearch
volumes:
- elasticsearch:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx1g -Xms1g"
ELASTIC_PASSWORD: changeme
# Use single node discovery in order to disable production mode and
# avoid bootstrap checks
# see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
discovery.type: single-node
logstash:
image: docker.elastic.co/logstash/logstash:${VERSION}
container_name: logstash
links:
- elasticsearch
ports:
- "5000:5000/tcp"
- "5000:5000/udp"
- "9600:9600"
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
kibana:
image: docker.elastic.co/kibana/kibana:${VERSION}
container_name: kibana
links:
- elasticsearch
ports:
- "5601:5601"
volumes:
elasticsearch: