Created
February 27, 2023 20:00
-
-
Save Kumawatlalit912/78b0f3b1e76499c2d436e03987a80b7e to your computer and use it in GitHub Desktop.
basic yaml file for elastic,kibana,mongodb
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' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:8.6.1 | |
container_name: elasticsearch | |
environment: | |
- discovery.type=single-node | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:8.6.1 | |
container_name: kibana | |
environment: | |
ELASTICSEARCH_URL: http://elasticsearch:9200 | |
ports: | |
- 5601:5601 | |
mongodb: | |
image: mongo:latest | |
container_name: mongodb | |
ports: | |
- 27017:27017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment