Skip to content

Commit

Permalink
Add ElasticSearch and Kibana 7 docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
sv2 committed Jan 18, 2020
1 parent 88577a8 commit 37ddd30
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions scripts/elasticsearch/elastic7/docker-compose.yml
@@ -0,0 +1,43 @@
version: '2.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
container_name: elasticsearch7
environment:
- node.name=es01
- cluster.name=es-cluster751
- discovery.seed_hosts=es01
- cluster.initial_master_nodes=es01
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms16g -Xmx16g"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- /mnt/data/elasticsearch:/usr/share/elasticsearch/data:rw
ports:
- 9200:9200
networks:
- elastic
kibana:
image: docker.elastic.co/kibana/kibana:7.5.1
environment:
SERVER_NAME: localhost
ELASTICSEARCH_URL: http://localhost:9200
XPACK_SECURITY_ENABLED: "false"
container_name: kibana7
ports:
- 5601:5601
depends_on:
- elasticsearch
networks:
- elastic

networks:
elastic:
driver: bridge

0 comments on commit 37ddd30

Please sign in to comment.