-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.es.yml
More file actions
32 lines (30 loc) · 898 Bytes
/
docker-compose.es.yml
File metadata and controls
32 lines (30 loc) · 898 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
version: '3'
services:
# ES container
# make sure to increase vm.max_map_count kernel setting like documented here :
# https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
elasticsearch:
environment:
- ES_JAVA_OPT='-Xms1G -Xmx1G'
- cluster.name=es-logisland
- http.host=0.0.0.0
- transport.host=0.0.0.0
- xpack.security.enabled=false
# Avoid bug https://github.com/elastic/elasticsearch/issues/25067
- discovery.type=single-node
hostname: elasticsearch
image: 'docker.elastic.co/elasticsearch/elasticsearch:6.6.2'
ports:
- '9200:9200'
- '9300:9300'
networks:
- logisland
# Kibana container
kibana:
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
image: 'docker.elastic.co/kibana/kibana:6.6.2'
ports:
- '5601:5601'
networks:
- logisland