hydra-sql/.env

43 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 ###
# configuration bdd
dsn="pgsql:host='postgres';port=5432;dbname=lasql"
db_user="lasql"
db_password="lasql"
# connexion hydra
HYDRA_ADMIN_BASE_URL='http://hydra:4445'
LOGOUT_REDIRECT_URL_PATTERN='http://localhost:4445/logout?return=%s'
url_login_challenge_accept="http://hydra:4445/oauth2/auth/requests/login/accept?login_challenge="
url_login_challenge="http://hydra:4445/oauth2/auth/requests/login?login_challenge="
url_login_challenge_reject="http://hydra:4445/oauth2/auth/requests/login/reject?login_challenge="
url_consent_challenge_reject="http://hydra:4445/oauth2/auth/requests/consent/reject?consent_challenge="
url_consent_challenge="http://hydra:4445/oauth2/auth/requests/consent?consent_challenge="
url_consent_challenge_accept="http://hydra:4445/oauth2/auth/requests/consent/accept?consent_challenge="
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###