mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-03 03:37:12 +00:00
48 lines
2.3 KiB
Bash
48 lines
2.3 KiB
Bash
# 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 ###
|
|
APP_ENV=dev
|
|
APP_DEBUG=0
|
|
APP_RUNTIME_MODE=web=1
|
|
APP_SECRET=EDITME
|
|
###< symfony/framework-bundle ###
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
# Format described at https://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
|
# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
|
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls
|
|
DATABASE_URL=mysql://root@127.0.0.1/sylius_%kernel.environment%?charset=utf8mb4
|
|
###< doctrine/doctrine-bundle ###
|
|
###> lexik/jwt-authentication-bundle ###
|
|
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
|
|
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
|
|
JWT_PASSPHRASE=66d45daf91b2ed1031e62d81c81dba2e
|
|
###< lexik/jwt-authentication-bundle ###
|
|
|
|
###> symfony/messenger ###
|
|
SYLIUS_MESSENGER_TRANSPORT_MAIN_DSN=doctrine://default
|
|
SYLIUS_MESSENGER_TRANSPORT_MAIN_FAILED_DSN=doctrine://default?queue_name=main_failed
|
|
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_DSN=doctrine://default?queue_name=catalog_promotion_removal
|
|
SYLIUS_MESSENGER_TRANSPORT_CATALOG_PROMOTION_REMOVAL_FAILED_DSN=doctrine://default?queue_name=catalog_promotion_removal_failed
|
|
SYLIUS_MESSENGER_TRANSPORT_PAYMENT_REQUEST_DSN=sync://
|
|
SYLIUS_MESSENGER_TRANSPORT_PAYMENT_REQUEST_FAILED_DSN=sync://
|
|
###< symfony/messenger ###
|
|
|
|
###> symfony/mailer ###
|
|
MAILER_DSN=null://null
|
|
###< symfony/mailer ###
|
|
|
|
SYLIUS_PAYMENT_ENCRYPTION_KEY_PATH=%kernel.project_dir%/config/encryption/dev.key
|