used yaml syntax > to split curl command

This commit is contained in:
Julia Spriggs 2024-10-14 21:03:01 +02:00
parent 980e3e9f01
commit 93b4312e7d

View file

@ -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