mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-03-19 15:13:19 +00:00
34 lines
1.5 KiB
Text
34 lines
1.5 KiB
Text
# 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 ###
|
|
APP_ENV=prod
|
|
APP_SECRET=change_this_to_something_unique
|
|
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
|
#TRUSTED_HOSTS=localhost,example.com
|
|
###< 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/kimai.sqlite"
|
|
# Configure your db driver and server_version in config/packages/doctrine.yaml
|
|
# DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
|
|
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/kimai.sqlite
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
###> nelmio/cors-bundle ###
|
|
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
|
|
###< nelmio/cors-bundle ###
|
|
|
|
### Email configuration
|
|
# SMTP: smtp://localhost:25?encryption=&auth_mode=
|
|
# Google: gmail://username:password@default
|
|
# Amazon: ses://ACCESS_KEY:SECRET_KEY@default?region=eu-west-1
|
|
# Mailchimp: mandrill://KEY@default
|
|
# Mailgun: mailgun://KEY:DOMAIN@default
|
|
# Postmark: postmark://ID@default
|
|
# Sendgrid: sendgrid://KEY@default
|
|
# Disable emails: null://null
|
|
MAILER_URL=null://null
|
|
MAILER_FROM=kimai@example.com
|