Created
February 14, 2023 06:22
-
-
Save Kumawatlalit912/1bc0f0ce5357eb33cd7e7b9885ac5b49 to your computer and use it in GitHub Desktop.
docker compost yml file
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: '2.2' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1 | |
container_name: elasticsearch | |
environment: | |
- cluster.name=docker-cluster | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
volumes: | |
- esdata:/usr/share/elasticsearch/data | |
ports: | |
- "9200:9200" | |
networks: | |
- esnet | |
kibana: | |
image: docker.elastic.co/kibana/kibana:6.6.1 | |
container_name: kibana | |
environment: | |
- ./kibana.yml:/usr/share/kibana/config/kibana.yml | |
ports: | |
- "5601:5601" | |
networks: | |
- esnet | |
volumes: | |
esdata: | |
driver: local | |
networks: | |
esnet: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment