Last active
June 26, 2023 16:01
-
-
Save j-tim/6063f27251419017129cb6ec4ffe22a2 to your computer and use it in GitHub Desktop.
Elasticsearch 7.x Single Cluster Node for local development including Kibana
This file contains hidden or 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: '3.7' | |
services: | |
# Elasticsearch Docker Images: https://www.docker.elastic.co/ | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.0 | |
container_name: elasticsearch | |
environment: | |
- xpack.security.enabled=false | |
- discovery.type=single-node | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
cap_add: | |
- IPC_LOCK | |
volumes: | |
- elasticsearch-data:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
kibana: | |
container_name: kibana | |
image: docker.elastic.co/kibana/kibana:7.4.0 | |
environment: | |
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200 | |
ports: | |
- 5601:5601 | |
depends_on: | |
- elasticsearch | |
volumes: | |
elasticsearch-data: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment