2018-06-20 16:35:08 +00:00
|
|
|
# This file is a "template" of which env vars need to be defined for your application
|
|
|
|
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
|
|
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
|
|
|
|
|
|
###> symfony/framework-bundle ###
|
2022-07-05 23:17:26 +00:00
|
|
|
APP_ENV=prod
|
2018-06-22 15:43:19 +00:00
|
|
|
APP_SECRET=xxx
|
2018-06-20 16:35:08 +00:00
|
|
|
###< 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 an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
|
|
|
# Configure your db driver and server_version in config/packages/doctrine.yaml
|
2018-06-24 18:24:43 +00:00
|
|
|
APP_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@127.0.0.1:5436/test?application_name=magnetico_web
|
2019-10-20 12:45:26 +00:00
|
|
|
MAGNETICOD_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@127.0.0.1:5436/test?application_name=magnetico_web
|
2018-06-20 16:35:08 +00:00
|
|
|
###< doctrine/doctrine-bundle ###
|
2019-01-18 15:33:20 +00:00
|
|
|
|
2020-07-05 01:19:27 +00:00
|
|
|
# Redis cache
|
|
|
|
REDIS_DSN=redis://127.0.0.1:6379/0
|
|
|
|
|
2019-01-18 15:33:20 +00:00
|
|
|
###> sentry/sentry-symfony ###
|
|
|
|
SENTRY_DSN=
|
|
|
|
###< sentry/sentry-symfony ###
|
2019-12-27 22:20:39 +00:00
|
|
|
|
2020-01-20 17:01:51 +00:00
|
|
|
###> symfony/mailer ###
|
|
|
|
MAILER_DSN=smtp://localhost
|
|
|
|
MAILER_FROM=no-reply@magnetico-web.tld
|
|
|
|
###< symfony/mailer ###
|
2020-01-20 17:44:27 +00:00
|
|
|
|
|
|
|
###> google/recaptcha ###
|
|
|
|
# To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
|
|
|
|
# https://www.google.com/recaptcha/admin
|
|
|
|
#GOOGLE_RECAPTCHA_SITE_KEY=
|
|
|
|
#GOOGLE_RECAPTCHA_SECRET=
|
|
|
|
###< google/recaptcha ###
|
|
|
|
|
|
|
|
###> excelwebzone/recaptcha-bundle ###
|
|
|
|
EWZ_RECAPTCHA_SITE_KEY=
|
|
|
|
EWZ_RECAPTCHA_SECRET=
|
|
|
|
###< excelwebzone/recaptcha-bundle ###
|
2022-07-10 21:47:02 +00:00
|
|
|
|
|
|
|
# Run this app only behind reverse-proxy if this is set!
|
|
|
|
# https://symfony.com/doc/5.4/deployment/proxies.html#but-what-if-the-ip-of-my-reverse-proxy-changes-constantly
|
|
|
|
TRUSTED_PROXIES=127.0.0.1
|