# Local development settings. Change these when you go live; no code changes needed.
APP_ENV=local
# Public address of the website (used for links in emails and CORS-free cookies).
APP_URL="http://localhost:5173"
# Set to true only if the site sits behind a proxy/load balancer that sets X-Forwarded-For.
TRUST_PROXY=false

# Database
DB_HOST=localhost
DB_PORT=3306
DB_NAME=rongoma_rja
DB_USER=another_crowbar
DB_PASS="8#spiQ3nUi.=f:Cn"

# Admin portal
SESSION_NAME=rja_admin
# Used by "php bin/setup.php" to create the first admin (add --reset-admin to re-apply them to an existing admin).
# Development login only: use a long, unique password before going live.
ADMIN_NAME="Site Admin"
ADMIN_USERNAME="admin_rangoma"
ADMIN_EMAIL="admin@rja.local"
# The "forgot password" email is sent here (printed in the terminal until MAIL_* is filled in).
ADMIN_RESET_EMAIL="admin@rja.local"
ADMIN_PASSWORD="Admin123"

# Email. Leave MAIL_HOST empty and every email is printed to the terminal (and storage/mail.log).
# Fill in MAIL_HOST, MAIL_USERNAME, MAIL_PASSWORD and MAIL_FROM_ADDRESS and emails are sent through SMTP instead.
MAIL_HOST=mail.rongomalaw.com
MAIL_PORT=587
# tls (STARTTLS, port 587) or ssl (port 465) or none
MAIL_ENCRYPTION=tls
MAIL_USERNAME="info@rongomalaw.com"
MAIL_PASSWORD=WUwtSDrjFCp8o80K
MAIL_FROM_ADDRESS="info@rongomalaw.com"
MAIL_FROM_NAME="Rongoma Janji & Associates Advocates"
# Where new-enquiry notifications go.
MAIL_NOTIFY_TO="info@rongomalaw.com"
