-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 918 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 918 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
version: "3"
services:
search:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.3
container_name: posobota-workshop-elasticsearch
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node # only one instance is enough for dev
- cluster.name=elasticsearch-posobota-workshop
- xpack.security.enabled=false # disable auth on localhost
- "ES_JAVA_OPTS=-Xms1G -Xmx1G"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
ports:
- "127.0.0.1:9200:9200"
kibana:
image: docker.elastic.co/kibana/kibana:6.2.3
container_name: posobota-workshop-kibana
volumes:
- ./.docker/kibana/config.yml:/usr/share/kibana/config/kibana.yml
ports:
- "127.0.0.1:5601:5601"
depends_on:
- search
links:
- search:elasticsearch