Created
June 25, 2022 15:31
-
-
Save vhxs/242368412412e4b7ce8f305a72ce51b9 to your computer and use it in GitHub Desktop.
Minimal working example of setting up elasticsearch and kibana with a docker compose script
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
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:8.2.3 | |
volumes: | |
- data:/usr/share/elasticsearch/data | |
environment: | |
- xpack.security.enabled=false | |
- discovery.type=single-node | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:8.2.3 | |
environment: | |
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200 | |
ports: | |
- 5601:5601 | |
volumes: | |
data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment