35 lines
1.8 KiB
Bash
35 lines
1.8 KiB
Bash
# In all environments, the following files are loaded if they exist,
|
|
# the latter taking precedence over the former:
|
|
#
|
|
# * .env contains default values for the environment variables needed by the app
|
|
# * .env.local uncommitted file with local overrides
|
|
# * .env.$APP_ENV committed environment-specific defaults
|
|
# * .env.$APP_ENV.local uncommitted environment-specific overrides
|
|
#
|
|
# Real environment variables win over .env files.
|
|
#
|
|
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
|
|
#
|
|
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
|
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
|
|
|
###> symfony/framework-bundle ###
|
|
APP_ENV=dev
|
|
APP_SECRET=406ccaa0c76a451fdcc2307ea146cbef
|
|
###< symfony/framework-bundle ###
|
|
|
|
# string pour la requête sql qui va récupérer le mot de passe
|
|
queryHashPassword="SELECT password from USER WHERE email ="
|
|
# l'url de connexion à la bdd avec PDO
|
|
urlDatabase="mysql:host=db;port=3306;dbname=remote;"
|
|
dbUser="remote"
|
|
dbPassword="remote"
|
|
|
|
# liste des urls pour communiquer avec hydra
|
|
url_login_challenge_accept="http://sso.mse.local:4445/oauth2/auth/requests/login/accept?login_challenge="
|
|
url_login_challenge="http://sso.mse.local:4445/oauth2/auth/requests/login?login_challenge="
|
|
url_login_challenge_reject="http://sso.mse.local:4445/oauth2/auth/requests/login/reject?login_challenge="
|
|
|
|
url_consent_challenge_reject="http://sso.mse.local:4445/oauth2/auth/requests/consent/reject?consent_challenge="
|
|
url_consent_challenge="http://sso.mse.local:4445/oauth2/auth/requests/consent?consent_challenge="
|
|
url_consent_challenge_accept="http://sso.mse.local:4445/oauth2/auth/requests/consent/accept?consent_challenge=" |