Last active
May 12, 2023 08:56
-
-
Save AnechaS/78495dfadb035d7d91783dad3bcf04ad to your computer and use it in GitHub Desktop.
docker-compose config 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
version: '3.8' | |
services: | |
elasticsearch: | |
container_name: es | |
image: docker.elastic.co/elasticsearch/elasticsearch:8.4.3 | |
environment: | |
- xpack.security.enabled=false | |
- "discovery.type=single-node" | |
networks: | |
- es-net | |
ports: | |
- 9200:9200 | |
kibana: | |
container_name: kb | |
image: docker.elastic.co/kibana/kibana:8.4.3 | |
environment: | |
- ELASTICSEARCH_HOSTS=http://es:9200 | |
networks: | |
- es-net | |
depends_on: | |
- elasticsearch | |
ports: | |
- 5601:5601 | |
networks: | |
es-net: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment