Created
January 21, 2025 12:56
-
-
Save sostenesapollo/4fe9fc32c20b13d63c57b474e5be089a to your computer and use it in GitHub Desktop.
Elastic search and kibana 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:8.10.1 | |
container_name: elasticsearch | |
environment: | |
- discovery.type=single-node | |
- xpack.security.enabled=false | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
volumes: | |
- es-data:/usr/share/elasticsearch/data | |
networks: | |
- elastic-network | |
kibana: | |
image: docker.elastic.co/kibana/kibana:8.10.1 | |
container_name: kibana | |
environment: | |
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200 | |
ports: | |
- "5601:5601" | |
networks: | |
- elastic-network | |
depends_on: | |
- elasticsearch | |
volumes: | |
es-data: | |
driver: local | |
networks: | |
elastic-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment