36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# =============================================================
|
|
# Bus Manager - Environment Configuration
|
|
# Copy this file to .env and fill in the values
|
|
# =============================================================
|
|
|
|
# Django
|
|
SECRET_KEY=change-me-to-a-long-random-string
|
|
DEBUG=False
|
|
# Space-separated list of allowed hosts/domains
|
|
ALLOWED_HOSTS=localhost busmanager.yourdomain.com
|
|
# Comma-separated list of trusted origins for CSRF (required when behind HTTPS reverse proxy)
|
|
CSRF_TRUSTED_ORIGINS=https://busmanager.yourdomain.com
|
|
|
|
# Database (Postgres - managed by Docker)
|
|
SQL_DATABASE=busmanager
|
|
SQL_USER=busmanager
|
|
SQL_PASSWORD=change-me-strong-password
|
|
|
|
# Port to expose Gunicorn on (proxied by NPM)
|
|
APP_PORT=8000
|
|
|
|
# Gunicorn tuning (optional)
|
|
GUNICORN_WORKERS=3
|
|
GUNICORN_TIMEOUT=120
|
|
|
|
# Email (SMTP relay)
|
|
EMAIL_HOST=
|
|
EMAIL_PORT=25
|
|
|
|
# =============================================================
|
|
# Optional: Telstra SMS API
|
|
# Leave blank to disable SMS features
|
|
# =============================================================
|
|
TELSTRA_CLIENT_ID=
|
|
TELSTRA_CLIENT_SECRET=
|