|
| 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 |
| 18 | +APP_SECRET=60d39a7440d83a0c9fa9d3391688db31 |
| 19 | +###< symfony/framework-bundle ### |
| 20 | + |
| 21 | +###> doctrine/doctrine-bundle ### |
| 22 | +# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url |
| 23 | +# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml |
| 24 | +# |
| 25 | +# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" |
| 26 | + DATABASE_URL="mysql://root:root@127.0.0.1:3306/db_name?serverVersion=5.7" |
| 27 | +#DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8" |
| 28 | +###< doctrine/doctrine-bundle ### |
| 29 | + |
| 30 | +###> nelmio/cors-bundle ### |
| 31 | +CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$' |
| 32 | +###< nelmio/cors-bundle ### |
| 33 | + |
| 34 | +# This file should always be updated with the environment variables used by the API. |
| 35 | +# Keys are available under the api service in the root docker-compose.yml file. |
| 36 | +APP_NAME='foo' |
| 37 | +APP_DEBUG='1' |
| 38 | +MONOLOG_LOGGING_PATH='php://stderr' |
| 39 | +MESSENGER_TRANSPORT_DSN='redis://foo@redis:6379/messages' |
| 40 | +STORAGE_PUBLIC_SOURCE='public.storage.s3' |
| 41 | +STORAGE_PRIVATE_SOURCE='private.storage.s3' |
| 42 | +STORAGE_ENDPOINT='http://minio:9000' |
| 43 | +STORAGE_PUBLIC_BUCKET='public' |
| 44 | +STORAGE_PRIVATE_BUCKET='private' |
| 45 | +STORAGE_ACCESS_KEY='foo' |
| 46 | +STORAGE_SECRET_KEY='foo' |
| 47 | +MAILER_DSN='smtp://null:null@mailhog:1025' |
| 48 | +MAIL_FROM_ADDRESS='no-reply@foo.localhost' |
| 49 | +MAIL_FROM_NAME='foo' |
| 50 | +MAIL_WEBAPP_URL='http://foo.localhost/' |
| 51 | +MAIL_WEBAPP_UPDATE_PASSWORD_ROUTE_FORMAT='%s/update-password/%s/%s' |
0 commit comments