2022-04-07 11:49:17 +02:00
|
|
|
# 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 ###
|
2022-05-03 08:54:45 +02:00
|
|
|
|
2022-12-09 17:31:07 +01:00
|
|
|
# configuration bdd
|
2022-12-13 15:46:24 +01:00
|
|
|
DSN_REMOTE_DATABASE="pgsql:host='postgres';port=5432;dbname=lasql"
|
|
|
|
# DSN_REMOTE_DATABASE="mysql:host=mariadb;port=3306;dbname=lasql;"
|
|
|
|
DB_USER="lasql"
|
|
|
|
DB_PASSWORD="lasql"
|
2022-05-03 08:54:45 +02:00
|
|
|
|
2022-12-13 15:46:24 +01:00
|
|
|
ISSUER_URL="http://localhost:8000"
|
|
|
|
BASE_URL='http://localhost:8080'
|
2022-12-09 17:31:07 +01:00
|
|
|
# connexion hydra
|
|
|
|
HYDRA_ADMIN_BASE_URL='http://hydra:4445'
|
2022-12-13 15:46:24 +01:00
|
|
|
APP_LOCALES="fr,en"
|
2022-12-16 15:00:14 +01:00
|
|
|
SECURITY_PATTERN=
|
2023-01-09 15:06:49 +01:00
|
|
|
HASH_ALGO_LEGACY="sha256,ssha"
|
2022-12-09 17:31:07 +01:00
|
|
|
###> symfony/lock ###
|
|
|
|
# Choose one of the stores below
|
|
|
|
# postgresql+advisory://db_user:db_password@localhost/db_name
|
|
|
|
LOCK_DSN=flock
|
|
|
|
###< symfony/lock ###
|
2022-12-13 15:46:24 +01:00
|
|
|
|
|
|
|
###> sentry/sentry-symfony ###
|
|
|
|
SENTRY_DSN=
|
|
|
|
###< sentry/sentry-symfony ###
|
2023-12-12 08:47:41 +01:00
|
|
|
REDIS_DSN=redis://redis:6379
|