Created
January 8, 2022 15:54
-
-
Save jvkassi/527533209316d48b99c2e3c54799e3e3 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: "2" | |
services: | |
elasticsearch: | |
image: "docker.elastic.co/elasticsearch/elasticsearch:7.16.0" | |
container_name: elasticsearch | |
environment: | |
- discovery.type=single-node | |
- cluster.routing.allocation.disk.threshold_enabled=true | |
- cluster.routing.allocation.disk.watermark.low=65% | |
- cluster.routing.allocation.disk.watermark.high=70% | |
- xpack.security.enabled=true | |
- xpack.security.audit.enabled=true | |
- ELASTIC_PASSWORD=elastic | |
ports: | |
- "9200:9200" | |
networks: | |
- eknetwork | |
kibana: | |
depends_on: | |
- elasticsearch | |
image: "docker.elastic.co/kibana/kibana:7.16.0" | |
ports: | |
- "5601:5601" | |
environment: | |
- ELASTICSEARCH_URL=http://localhost:9200 | |
- ELASTICSEARCH_USERNAME=elastic | |
- ELASTICSEARCH_PASSWORD=elastic | |
networks: | |
- eknetwork | |
networks: | |
eknetwork: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment