mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
variabilisation des paramètres du serveur de bdd
This commit is contained in:
parent
c2995e9799
commit
cfed4f0fbc
2
.env
2
.env
@ -18,6 +18,8 @@ APP_ENV=dev
|
|||||||
APP_SECRET=597b0529ac702d27dcb9089f7e69c362
|
APP_SECRET=597b0529ac702d27dcb9089f7e69c362
|
||||||
# Base website url, should contain https:// and having no trailing slash. example: BASE_URL=https://framadate.org
|
# Base website url, should contain https:// and having no trailing slash. example: BASE_URL=https://framadate.org
|
||||||
BASE_URL=http://localhost/
|
BASE_URL=http://localhost/
|
||||||
|
DATABASE_DRIVER=pdo_mysql
|
||||||
|
DATABASE_SERVER_VERSION=5.7
|
||||||
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
||||||
#TRUSTED_HOSTS='^localhost|example\.com$'
|
#TRUSTED_HOSTS='^localhost|example\.com$'
|
||||||
###< symfony/framework-bundle ###
|
###< symfony/framework-bundle ###
|
||||||
|
@ -3,8 +3,8 @@ doctrine:
|
|||||||
# configure these for your database server
|
# configure these for your database server
|
||||||
# use postgresql for PostgreSQL
|
# use postgresql for PostgreSQL
|
||||||
# use sqlite for SQLite
|
# use sqlite for SQLite
|
||||||
driver: 'mysql'
|
driver: '%env(resolve:DATABASE_DRIVER)%'
|
||||||
server_version: '5.7'
|
server_version: '%env(resolve:DATABASE_SERVER_VERSION)%'
|
||||||
|
|
||||||
# only needed for MySQL
|
# only needed for MySQL
|
||||||
charset: utf8mb4
|
charset: utf8mb4
|
||||||
|
Loading…
Reference in New Issue
Block a user