2019-02-23 16:49:38 +01:00
|
|
|
# In all environments, the following files are loaded if they exist,
|
|
|
|
# the later 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/configuration.html#infrastructure-related-configuration
|
|
|
|
|
|
|
|
###> symfony/framework-bundle ###
|
2019-08-10 17:20:23 +02:00
|
|
|
APP_ENV=prod
|
2019-02-23 16:49:38 +01:00
|
|
|
APP_SECRET=7915fd8481d1a52cf42010ebe2caa974
|
|
|
|
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
|
|
|
#TRUSTED_HOSTS='^localhost|example\.com$'
|
|
|
|
###< symfony/framework-bundle ###
|
|
|
|
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
|
|
# Format described at http://docs.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"
|
|
|
|
# Configure your db driver and server_version in config/packages/doctrine.yaml
|
2019-02-23 22:41:13 +01:00
|
|
|
DATABASE_URL=mysql://root:@127.0.0.1:3306/part-db
|
2019-02-23 16:49:38 +01:00
|
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
|
2019-02-24 18:32:03 +01:00
|
|
|
### Custom vars
|
|
|
|
|
2019-08-13 13:04:31 +02:00
|
|
|
FIXER_API_KEY=CHANGEME
|
2019-02-24 18:32:03 +01:00
|
|
|
|
2019-10-03 00:45:02 +02:00
|
|
|
# Change this to true, if no url rewriting (like mod_rewrite for Apache) is available
|
|
|
|
# In that case all URL contains the index.php front controller in URL
|
|
|
|
NO_URL_REWRITE_AVAILABLE=false
|
|
|
|
|
2019-10-19 23:20:19 +02:00
|
|
|
# Override value if you want to show to show a given text on homepage.
|
|
|
|
# When this is empty the content of config/banner.md is used as banner
|
|
|
|
BANNER=""
|
|
|
|
|
2019-10-20 00:01:06 +02:00
|
|
|
# In demo mode things it is not possible for a user to change his password and his settings.
|
|
|
|
DEMO_MODE=0
|
|
|
|
|
2019-11-24 22:49:22 +01:00
|
|
|
### End custom vars
|
|
|
|
###> symfony/mailer ###
|
|
|
|
# MAILER_DSN=smtp://localhost
|
|
|
|
###< symfony/mailer ###
|