2021-03-08 15:06:22 +00:00
|
|
|
### DATABASE CONFIGURATION
|
|
|
|
# Replace "user", "password" and "database" with your database connection.
|
|
|
|
# Configure the server version, MariaDB requires the "mariadb-" prefix, eg:
|
|
|
|
# for MySQL "serverVersion=5.7" and for MariaDB "serverVersion=mariadb-10.5.8"
|
|
|
|
DATABASE_URL=mysql://user:password@127.0.0.1:3306/database?charset=utf8&serverVersion=5.7
|
2018-01-12 19:39:07 +00:00
|
|
|
|
2021-03-08 15:06:22 +00:00
|
|
|
### EMAIL CONFIGURATION
|
|
|
|
# Emails will be sent "from":
|
|
|
|
MAILER_FROM=kimai@example.com
|
|
|
|
|
|
|
|
# Email connection (disabled by default with MAILER_URL=null://null)
|
|
|
|
# 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
|
|
|
|
|
|
|
|
### APPLICATION CONFIGURATION
|
2018-07-22 22:43:30 +00:00
|
|
|
APP_ENV=prod
|
|
|
|
APP_SECRET=change_this_to_something_unique
|
2018-01-12 19:39:07 +00:00
|
|
|
|
2021-03-08 15:06:22 +00:00
|
|
|
# Running in a "special" environment, eg. behind reverse proxies?
|
|
|
|
# Check those:
|
|
|
|
# TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
|
|
|
# TRUSTED_HOSTS=localhost,example.com
|
2019-03-23 10:04:55 +00:00
|
|
|
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
|