Merge pull request from dunglas/revert

Revert  and 
This commit is contained in:
Kévin Dunglas 2021-03-28 18:01:43 +02:00 committed by GitHub
commit 2e9d893de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

@ -2,7 +2,7 @@
# Debug # Debug
{$DEBUG} {$DEBUG}
# HTTP/3 support # HTTP/3 support
servers :443 { servers {
protocol { protocol {
experimental_http3 experimental_http3
} }

@ -30,8 +30,6 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi fi
if grep -q ^DATABASE_URL= .env; then if grep -q ^DATABASE_URL= .env; then
echo "Try to create database"
bin/console doctrine:database:create --if-not-exists --no-interaction
echo "Waiting for db to be ready..." echo "Waiting for db to be ready..."
ATTEMPTS_LEFT_TO_REACH_DATABASE=60 ATTEMPTS_LEFT_TO_REACH_DATABASE=60
until [ $ATTEMPTS_LEFT_TO_REACH_DATABASE -eq 0 ] || DATABASE_ERROR=$(bin/console doctrine:query:sql "SELECT 1" 2>&1); do until [ $ATTEMPTS_LEFT_TO_REACH_DATABASE -eq 0 ] || DATABASE_ERROR=$(bin/console doctrine:query:sql "SELECT 1" 2>&1); do