|
|
@@ -14,10 +14,7 @@
|
|
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
|
|
|
|
|
###> symfony/framework-bundle ###
|
|
|
-APP_ENV=prod
|
|
|
APP_SECRET=6a76497c8658bb23e2236f97a2627df3
|
|
|
-#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
|
|
-#TRUSTED_HOSTS='^(localhost|example\.com)$'
|
|
|
###< symfony/framework-bundle ###
|
|
|
|
|
|
###> files management ###
|
|
|
@@ -25,17 +22,9 @@ INTERNAL_FILES_DOWNLOAD_URI=https://api.opentalent.fr/_internal/secure/files
|
|
|
###< files management ###
|
|
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
|
-# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
|
|
-# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
|
|
-# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
|
|
|
-# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
|
|
|
-#DATABASE_URL=mysql://root:mysql660@db:3306/opentalent?serverVersion=5.7
|
|
|
+# => defined in the .env.<environment> files
|
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
|
|
-###> nelmio/cors-bundle ###
|
|
|
-#CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)|local.admin.opentalent.fr|local.app.opentalent.fr?$
|
|
|
-###< nelmio/cors-bundle ###
|
|
|
-
|
|
|
###> lexik/jwt-authentication-bundle ###
|
|
|
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
|
|
|
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
|
|
|
@@ -61,19 +50,14 @@ WKHTMLTOIMAGE_PATH=/usr/local/bin/wkhtmltoimage
|
|
|
###< knplabs/knp-snappy-bundle ###
|
|
|
|
|
|
###> symfony/messenger ###
|
|
|
-# Choose one of the transports below
|
|
|
MESSENGER_TRANSPORT_DSN=doctrine://default
|
|
|
-# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
|
|
-# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
|
|
###< symfony/messenger ###
|
|
|
|
|
|
###> AdminAssos configuration ###
|
|
|
-#DATABASE_ADMINASSOS_URL=mysql://root:mysql660@db:3306/adminassos?serverVersion=5.7
|
|
|
+# => defined in the .env.<environment> files
|
|
|
###< AdminAssos configuration ###
|
|
|
|
|
|
###> symfony/lock ###
|
|
|
-# Choose one of the stores below
|
|
|
-# postgresql+advisory://db_user:db_password@localhost/db_name
|
|
|
LOCK_DSN=semaphore
|
|
|
###< symfony/lock ###
|
|
|
|