Created
May 16, 2020 05:54
-
-
Save preslavmihaylov/72187fd548cd7579be5147de454459d1 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.2' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 | |
volumes: | |
- ./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro | |
healthcheck: | |
test: ["CMD", "curl", "-s", "-f", "http://localhost:9200/_cat/health"] | |
interval: 3s | |
timeout: 3s | |
retries: 10 | |
ports: | |
- 9200:9200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment