Olivier Massot 3 лет назад
Родитель
Сommit
c639dbb628
4 измененных файлов с 10 добавлено и 18 удалено
  1. 6 8
      .env.docker
  2. 0 6
      .env.preprod
  3. 0 4
      .env.prod
  4. 4 0
      .env.test

+ 6 - 8
.env.docker

@@ -1,19 +1,15 @@
 ###> symfony/framework-bundle ###
-APP_ENV=dev
-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)$'
+APP_DEBUG=1
 ###< symfony/framework-bundle ###
+
 ###> 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
 ###< 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 ###
+
 ###> BlackFire configuration ###
 BLACKFIRE_CLIENT_ID=988fcba8-552d-48df-a9c2-035c76535b69
 BLACKFIRE_CLIENT_TOKEN=8cfbeb263d044da9678dc2612531504da3790c308da7448e35724a5da91c136f
@@ -47,4 +43,6 @@ MERCURE_JWT_SECRET=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0y
 BIND_FILE_BUFFER_FILE=/var/www/html/var/subdomain.txt
 ###< bindfile populate buffer file
 
+###> mailcatcher ###
 MAILER_DSN=smtp://mailcatcher:1025
+###< symfony/mercure-bundle ###

+ 0 - 6
.env.preprod

@@ -1,14 +1,8 @@
 ###> symfony/framework-bundle ###
-APP_ENV=prod
 APP_DEBUG=1
-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 ###
 
 ###> doctrine/doctrine-bundle ###
-# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
-# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
 DATABASE_URL=mysql://root:mysql2iopenservice369566@preprod:3306/opentalent?serverVersion=5.7
 ###< doctrine/doctrine-bundle ###
 

+ 0 - 4
.env.prod

@@ -1,9 +1,5 @@
 ###> symfony/framework-bundle ###
-APP_ENV=prod
 APP_DEBUG=0
-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 ###
 
 ###> doctrine/doctrine-bundle ###

+ 4 - 0
.env.test

@@ -1,3 +1,7 @@
+###> symfony/framework-bundle ###
+APP_DEBUG=1
+###< symfony/framework-bundle ###
+
 # define your env variables for the test env here
 KERNEL_CLASS='App\Kernel'
 APP_SECRET='$ecretf0rt3st'