Created
May 11, 2022 21:42
-
-
Save ossycodes/a13ef38a467d277c2c21c70827c883df to your computer and use it in GitHub Desktop.
ELASTIC SEARCH WITH KIBANA ONLY
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