A gateway/firewall task to be able to talk someone about the real job
Fibinger Ádám
2021-10-22 fd7692eae00cbb0db3e6b732f68357e3c64a8a8b
commit | author | age
15b0f1 1 # In all environments, the following files are loaded if they exist,
2 # the latter taking precedence over the former:
3 #
4 #  * .env                contains default values for the environment variables needed by the app
5 #  * .env.local          uncommitted file with local overrides
6 #  * .env.$APP_ENV       committed environment-specific defaults
7 #  * .env.$APP_ENV.local uncommitted environment-specific overrides
8 #
9 # Real environment variables win over .env files.
10 #
11 # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12 #
13 # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
14 # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
15
16 ###> symfony/framework-bundle ###
17 APP_ENV=dev
fd7692 18 APP_DEBUG=1
15b0f1 19 APP_SECRET=5f741ee8c025b998f20f53e4f9040374
20 ###< symfony/framework-bundle ###
fd7692 21
22 ###> doctrine/doctrine-bundle ###
23 # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
24 # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
25 #
26 DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
27 # DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
28 # DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8"
29 ###< doctrine/doctrine-bundle ###
30
31 ###> nelmio/cors-bundle ###
32 CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
33 ###< nelmio/cors-bundle ###