Last active
October 25, 2020 13:51
-
-
Save martinsmith1968/12c12c336240c24eaa91450a4e5cd50a to your computer and use it in GitHub Desktop.
Docker Compose file for ElasticSearch 7.9.3 with Kibana 7.9.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.2' | |
# Docker compose fiel for ElasticSearch 7.9.3 with Kibana 7.9.3 | |
# Based on: https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-docker.html | |
services: | |
elasticsearch793: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.3 | |
container_name: elasticsearch793 | |
environment: | |
- xpack.security.enabled=false | |
- discovery.type=single-node | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
volumes: | |
- elasticsearch-data-793:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
kibana793: | |
image: docker.elastic.co/kibana/kibana:7.9.3 | |
container_name: kibana793 | |
ports: | |
- 5601:5601 | |
environment: | |
ELASTICSEARCH_HOSTS: http://elasticsearch793:9200 | |
depends_on: | |
- elasticsearch793 | |
volumes: | |
elasticsearch-data-793: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment