Ajout d'un healthcheck pour le conteneur FrankenPHP pour corriger le temps de disponibilité au démarrage.
This commit is contained in:
@@ -9,4 +9,10 @@ services:
|
||||
|
||||
volumes:
|
||||
- ./www:/app
|
||||
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
|
||||
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
|
||||
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "curl -s http://localhost/index.php || exit 1" ]
|
||||
interval: 1s
|
||||
timeout: 1s
|
||||
retries: 10
|
||||
Reference in New Issue
Block a user