Files
bus-manager/.env.example
T

43 lines
1.2 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
# 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: Azure AD SSO
# Leave blank to use Django local auth instead
# =============================================================
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=
AZURE_REDIRECT_URI=
AZURE_AUTHORITY=
# =============================================================
# Optional: Telstra SMS API
# Leave blank to disable SMS features
# =============================================================
TELSTRA_CLIENT_ID=
TELSTRA_CLIENT_SECRET=