Skip to content

Commit

Permalink
Fix docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crespocarlos committed Oct 12, 2022
1 parent 3b56c0f commit 0aca5a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kibana/_dev/deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ services:
image: "docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION:-8.5.0-SNAPSHOT}"
environment:
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- ELASTIC_PASSWORD
- "ELASTIC_PASSWORD:changeme"
ports:
- "127.0.0.1:9201:9200"
volumes:
- "./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
healthcheck:
test: curl -sfo /dev/null -u elastic:${ELASTIC_PASSWORD} localhost:9200 || exit 1
test: curl -sfo /dev/null -u elastic:changeme localhost:9200 || exit 1
retries: 300
interval: 1s
setup:
Expand Down

0 comments on commit 0aca5a7

Please sign in to comment.