used yaml syntax > to split curl command
This commit is contained in:
parent
980e3e9f01
commit
93b4312e7d
1 changed files with 4 additions and 1 deletions
|
@ -1913,7 +1913,10 @@ Ensuite, nous avons mis en place l'environnement serveur requis pour le déploie
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD-SHELL
|
- CMD-SHELL
|
||||||
- "curl -f http://backend:4000/graphql?query=%7B__typename%7D -H 'Apollo-Require-Preflight: true' || exit 1"
|
- >
|
||||||
|
curl -f http://backend:4000/graphql?query=%7B__typename%7D
|
||||||
|
-H 'Apollo-Require-Preflight: true'
|
||||||
|
|| exit 1
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Reference in a new issue