feat: add support for Doctrine ORM (#74)

* feat: add support for Doctrine ORM

* feat: wait for DB and handle migrations if necessary

* feat: automatically use the MARIADB password

* fix cs

* feat: switch to postgres

* feat: switch to Postgres
This commit is contained in:
Kévin Dunglas
2020-11-24 22:10:43 +01:00
committed by GitHub
parent 24e5a85265
commit a6a1f7711e
2 changed files with 23 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ services:
retries: 3
start_period: 30s
environment:
# Run "composer require symfony/orm-pack" to install and configure Doctrine ORM
DATABASE_URL: postgresql://${POSTGRES_USER:-symfony}:${POSTGRES_PASSWORD:-ChangeMe}@db:5432/${POSTGRES_DB:-app}?serverVersion=${POSTGRES_VERSION:-13}
SYMFONY_VERSION:
caddy: