47 lines
1.9 KiB
Bash
47 lines
1.9 KiB
Bash
# This file is a "template" of which env vars needs to be defined in your configuration or in an .env file
|
|
# Set variables here that may be different on each deployment target of the app, e.g. development, staging, production.
|
|
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
|
|
###> symfony/framework-bundle ###
|
|
APP_ENV=dev
|
|
APP_DEBUG=1
|
|
APP_SECRET=EDITME
|
|
###< 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 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/open_marketplace_%kernel.environment%?serverVersion=5.7
|
|
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
###> lexik/jwt-authentication-bundle ###
|
|
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private-test.pem
|
|
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public-test.pem
|
|
JWT_PASSPHRASE=acme_plugin_development
|
|
###< lexik/jwt-authentication-bundle ###
|
|
|
|
###> 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=smtp://localhost
|
|
###< symfony/swiftmailer-bundle ###
|
|
|
|
###> symfony/messenger ###
|
|
# Choose one of the transports below
|
|
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
|
MESSENGER_TRANSPORT_DSN=sync://
|
|
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
|
###< symfony/messenger ###
|
|
|
|
LOGO_DIRECTORY=media/image/logo/
|
|
VENDOR_PRODUCTS_LIMITS=9,18,27
|
|
DEFAULT_VENDOR_PRODUCTS_LIMIT=9
|
|
MESSAGES_FILE_UPLOAD_DIRECTORY=uploads/message_files
|
|
|
|
DEFAULT_VENDOR_COMMISSION=5
|
|
DEFAULT_VENDOR_COMMISSION_TYPE=net
|