Created
March 28, 2021 15:02
-
-
Save CoskunKurtuldu/8eae4e7b2d685f643ed6c9ad380afc8f to your computer and use it in GitHub Desktop.
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.1' | |
services: | |
elasticsearch: | |
container_name: elasticsearch | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.2 | |
ports: | |
- 9200:9200 | |
volumes: | |
- elasticsearch-data:/usr/share/elasticsearch/data | |
environment: | |
- xpack.monitoring.enabled=true | |
- xpack.watcher.enabled=false | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
- discovery.type=single-node | |
networks: | |
- elastic | |
kibana: | |
container_name: kibana | |
image: docker.elastic.co/kibana/kibana:7.11.2 | |
ports: | |
- 5601:5601 | |
depends_on: | |
- elasticsearch | |
environment: | |
- ELASTICSEARCH_URL=http://localhost:9200 | |
networks: | |
- elastic | |
networks: | |
elastic: | |
driver: bridge | |
volumes: | |
elasticsearch-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment