Merge pull request #120 from dunglas/revert

Revert #118 and #119
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

View File

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

View File

@ -30,8 +30,6 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi
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..."
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