30 lines
750 B
Bash
30 lines
750 B
Bash
# Example environment file for WebGIS.
|
|
# Copy this file to `.env`, then fill in real values. Do not commit `.env`.
|
|
|
|
# Database
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USER=root
|
|
DB_PASS=change_me
|
|
DB_NAME=webgis
|
|
|
|
# Mail
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=your_gmail_address@gmail.com
|
|
SMTP_PASS=your_gmail_app_password
|
|
SMTP_ENCRYPTION=tls
|
|
MAIL_FROM=your_gmail_address@gmail.com
|
|
MAIL_FROM_NAME=WebGIS
|
|
|
|
# Auth secrets
|
|
# Generate secrets with: php -r "echo bin2hex(random_bytes(32)).PHP_EOL;"
|
|
API_KEY=change_me_to_a_random_hex_string
|
|
JWT_SECRET=change_me_to_a_random_hex_string
|
|
INTERNAL_AUTH_KEY=change_me_to_a_random_hex_string
|
|
BASIC_API_USER=webgis-api
|
|
BASIC_API_PASS=change_me
|
|
|
|
# Optional local debug helper for verification codes.
|
|
DEBUG_MODE=0
|