File: //var/softaculous/kimai/.env
#================================================================================
# READ THIS FIRST: https://www.kimai.org/documentation/local-yaml.html
#================================================================================
# Configure your database connection and the correct server version - find it with: SELECT VERSION();
DATABASE_URL=mysql://[[softdbuser]]:[[softdbpass]]@[[softdbhost]]:3306/[[softdb]]?charset=utf8mb4&serverVersion=[[dbser_ver]]
# You MUST change this to a long and random character sequence, e.g.: php -r 'echo bin2hex(random_bytes(32));'
APP_SECRET=[[APP_SECRET]]
# The base URL of your Kimai installation
DEFAULT_URI=https://127.0.0.1:8000
# SECURITY WARNING: you SHOULD configure the allowed domain names for your installation
TRUSTED_HOSTS=[[domhost]]
# Outgoing emails use this email-address as sender
MAILER_FROM=kimai@example.com
# Email connection - see https://www.kimai.org/documentation/emails.html
MAILER_URL=null://null
# Running behind reverse proxies? Try these:
# TRUSTED_PROXIES=127.0.0.1,127.0.0.2
# regexp to define allowed frontend origins for API requests
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
# only change to "dev" if you are developing with/for Kimai
APP_ENV=prod