Files
Docker-Compose/Discourse/.env.example

29 lines
1.0 KiB
Plaintext

# ============================================================
# Discourse - Environment Variables
# Copy this file to .env and fill in all values before starting
# ============================================================
# --- Site Settings ---
DISCOURSE_HOST=forum.yourdomain.com # Public hostname — no http:// prefix
DISCOURSE_SITE_NAME=My Community Forum
# --- Admin Account (used on first run only) ---
DISCOURSE_ADMIN_USERNAME=admin
DISCOURSE_ADMIN_PASSWORD=changeme # Min 10 characters
DISCOURSE_ADMIN_EMAIL=admin@yourdomain.com
# --- PostgreSQL ---
POSTGRES_ROOT_PASSWORD=changeme_root # Superuser (postgres) password
DISCOURSE_DB_NAME=bitnami_discourse
DISCOURSE_DB_USER=bn_discourse
DISCOURSE_DB_PASSWORD=changeme_db
# --- Redis ---
REDIS_PASSWORD=changeme_redis
# --- SMTP (Microsoft 365 / Outlook Business) ---
# Use an app password if MFA is enabled on the sending account
SMTP_USERNAME=noreply@yourdomain.com
SMTP_PASSWORD=your_app_password_here
SMTP_FROM_ADDRESS=noreply@yourdomain.com