mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 23:56:25 +03:00
feat: DATABSE_URL configured sync with postgresql
PostgreSQL is configured in docker-compose.yaml file in the same manifest but with another configuration. The purpose of this commit is to make it ready by default to reduce what the user is supposed to change at install time.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
|
||||
"DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8"
|
||||
"DATABASE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||
|
||||
Reference in New Issue
Block a user