Created
October 23, 2023 22:50
-
-
Save revolunet/0935cee6fc6ff88da0b0e74dbd048ae6 to your computer and use it in GitHub Desktop.
minimal elastic+kibana with docker-compose
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: '3.7' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0 | |
environment: | |
- "ES_JAVA_OPTS=-Xms256M -Xmx256M" | |
- node.name=elasticsearch | |
- cluster.name=docker-cluster | |
- cluster.initial_master_nodes=elasticsearch | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:7.15.0 | |
environment: | |
SERVER_NAME: localhost | |
ELASTICSEARCH_URL: http://elasticsearch:9200/ | |
ports: | |
- 5601:5601 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment