refs #734 use environment variables in .env files and disable web depuration toolbar
parent
940f1876db
commit
397fffb252
4
.env
4
.env
|
@ -15,10 +15,10 @@
|
|||
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
||||
|
||||
###> symfony/framework-bundle ###
|
||||
APP_ENV=dev
|
||||
APP_ENV=${APP_ENV:-dev}
|
||||
APP_SECRET=31180fc3aa11818328106d014be0108c
|
||||
OGGIT_URL=${OGGIT_URL}
|
||||
###< symfony/framework-bundle ###
|
||||
OGGIT_URL=http://127.0.0.1:5000
|
||||
###> 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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
when@dev:
|
||||
web_profiler:
|
||||
toolbar: true
|
||||
toolbar: false
|
||||
intercept_redirects: false
|
||||
|
||||
framework:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||
parameters:
|
||||
|
||||
OGGIT_URL: '%env(OGGIT_URL)%'
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
|
|
Loading…
Reference in New Issue