101 lines
4.2 KiB
Bash
101 lines
4.2 KiB
Bash
# In all environments, the following files are loaded if they exist,
|
|
# the latter 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.
|
|
# https://symfony.com/doc/current/configuration/secrets.html
|
|
#
|
|
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
|
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
|
|
|
###> symfony/framework-bundle ###
|
|
APP_ENV=dev
|
|
APP_SECRET=b3cb0285aea14bbffb57df0cc3aa84f4
|
|
###< symfony/framework-bundle ###
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
|
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
|
|
#
|
|
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
|
|
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4"
|
|
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
|
|
# DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
|
|
DATABASE_URL="mysql://db:db@db:3306/db?serverVersion=8.4.5&charset=utf8mb4"
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
###> symfony/messenger ###
|
|
# Choose one of the transports below
|
|
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
|
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
|
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|
###< symfony/messenger ###
|
|
|
|
###> symfony/mailer ###
|
|
MAILER_DSN=null://null
|
|
# Has to resolve in every environment or the container does not compile, see the
|
|
# mailjet section below for the production value
|
|
MAILING_MAILER_DSN=null://null
|
|
###< symfony/mailer ###
|
|
|
|
APP_BASE_URI=https://myep-team.ddev.site
|
|
|
|
APP_BPN_USER=
|
|
APP_BPN_PASSWORD=
|
|
APP_BPN_IP=
|
|
APP_BPN_PORT=
|
|
APP_BPN_DEBUG=false
|
|
|
|
# This hotel code will be assigned to admin users together with ROLE_HOTEL_MANAGER
|
|
# in dev and staging environments for testing purposes
|
|
APP_BPN_DEFAULT_HOTEL_CODE=
|
|
APP_BPN_CRM_ID_ADMIN=1292
|
|
APP_BPN_CRM_ID_MANAGER=1293
|
|
APP_BPN_CRM_ID_TEAMER=1070
|
|
|
|
APP_DEFAULT_EMAIL_FROM=[email protected]
|
|
APP_DEFAULT_EMAIL_TO=[email protected]
|
|
|
|
XML_EXPORT_PATH="%kernel.project_dir%/var/xmlexport"
|
|
|
|
MYEP_OAUTH2_CLIENT_ID=
|
|
MYEP_OAUTH2_CLIENT_SECRET=
|
|
MYEP_OAUTH2_URL_AUTHORIZE=https://my.ep-reisen.de/authorize
|
|
MYEP_OAUTH2_URL_ACCESS_TOKEN=https://my.ep-reisen.de/token
|
|
MYEP_OAUTH2_URL_RESOURCE_OWNER_DETAILS=https://my.ep-reisen.de/api/userinfo
|
|
MYEP_OAUTH2_SCOPES=email,id,roles,profile
|
|
|
|
###> symfony/mailjet-mailer ###
|
|
# Bulk teamer mailings only, everything else goes out over MAILER_DSN. Set the real
|
|
# credentials in .env.local - the sending domain has to be verified in Mailjet (SPF,
|
|
# DKIM, DMARC) or the mail is delivered but lands in spam.
|
|
#
|
|
# Use smtp. The api transport does not send the message we built: it takes the parts as
|
|
# json fields and has Mailjet assemble the mail, which drops the embedded logo into an
|
|
# ordinary attachment. Over smtp our own MIME goes out unchanged and the mail arrives as
|
|
# it was rendered. Deliverability is identical either way, it is the same account, the
|
|
# same ip pool and the same dkim signature. The api is only worth revisiting if the host
|
|
# ever blocks outbound port 587, since it talks https instead.
|
|
# MAILING_MAILER_DSN=mailjet+smtp://PUBLIC_KEY:[email protected]
|
|
# MAILING_MAILER_DSN=mailjet+api://PUBLIC_KEY:PRIVATE_KEY@default
|
|
###< symfony/mailjet-mailer ###
|
|
|
|
BIN_GS=/usr/bin/gs
|
|
BIN_CONVERT=/usr/bin/convert
|
|
|
|
DATEV_EMAIL_RECIPIENT=[email protected]
|
|
DATEV_EMAIL_SENDER=[email protected]
|
|
|
|
FEATURE_SANITIZE_UPLOADS=false
|
|
FEATURE_STAMP_INVOICES=false
|
|
FEATURE_DATEV_EMAIL=false
|
|
FEATURE_MYEP_LOGIN=false
|
|
|
|
UPLOAD_REPLACEMENT_FILE=assets/pdf/chicken.pdf
|