devenv: elastic: fixed docker-compose syntax (#49517)

This commit is contained in:
Gábor Farkas 2022-06-07 11:04:27 +02:00 committed by GitHub
parent c4a75f9eb3
commit 113e601dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,4 @@
- elasticsearch
# elastic starts slowly, the first couple start of data.js
# might fail, so we auto-restart it on failure.
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 20 # should be enough
restart: "on-failure"