Created
June 8, 2022 15:07
-
-
Save wodsonluiz/978a1f8e53546bba8795a83bfa7cf977 to your computer and use it in GitHub Desktop.
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: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
environment: | |
discovery.type: "single-node" | |
ES_JAVA_OPTS: "-Xms2g -Xmx2g" | |
xpack.monitoring.enabled: "true" | |
volumes: | |
- ./esdata:/usr/share/elasticsearch/data | |
kibana: | |
image: docker.elastic.co/kibana/kibana:7.4.2 | |
ports: | |
- "5601:5601" | |
environment: | |
ELASTICSEARCH_URL: http://elasticsearch:9200 | |
depends_on: | |
- elasticsearch | |
volumes: | |
esdata: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment