# 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_SECRET=52c1cb88ee822cd2643abe29e16a68a6 #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 ### ###> symfony/mailer ### # MAILER_DSN=smtp://localhost ###< symfony/mailer ### ###< doctrine/doctrine-bundle ### # Basic APP_ALIAS=nineschool APP_AUTH=MYSQL APP_NAME=Nineschool APP_ENV=PROD APP_CRON=false # BDD DATABASE_NAME= DATABASE_USER= DATABASE_PASSWORD= DATABASE_HOST= # MAIL sendmail / smtp MAILER_METHOD=sendmail MAILER_URL= MAILER_NOREPLY=noreply@noreply.fr # LDAP LDAP_HOST= LDAP_PORT= LDAP_USER= LDAP_PASSWORD= LDAP_BASEDN= LDAP_USERNAME=uid LDAP_FIRSTNAME=givenname LDAP_LASTNAME=sn LDAP_EMAIL=mail LDAP_ADMINS='["admin"]' # If APP_AUTH = CAS CAS_HOST= CAS_PORT= CAS_PATH= CAS_USERNAME=username CAS_EMAIL=email CAS_LASTNAME=lastname CAS_FIRSTNAME=firstname ###> symfony/swiftmailer-bundle ### # For Gmail as a transport, use: "gmail://username:password@localhost" # For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" # Delivery is disabled by default via "null://localhost" MAILER_URL=null://localhost ###< symfony/swiftmailer-bundle ###