Created
July 6, 2024 12:01
-
-
Save AjayPoshak/5b49aefd73c4b7bf2316206acfbd7c62 to your computer and use it in GitHub Desktop.
Docker compose setup for Elasticsearch and Kibana
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
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.1 | |
container_name: elasticsearch | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
environment: | |
- discovery.type=single-node | |
- xpack.security.enabled=false | |
mem_limit: 1073741824 # 1 GB in bytes | |
kibana: | |
image: docker.elastic.co/kibana/kibana:8.14.1 | |
container_name: kibana | |
ports: | |
- "5601:5601" | |
depends_on: | |
- elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment