# ─── PostgreSQL ─────────────────────────────────────────────────────────────── # Password for the postgres database user POSTGRES_PASSWORD=changeme # ─── Formbricks ─────────────────────────────────────────────────────────────── # Host port mapped to the Formbricks container (internal port is always 3000) PORT=3000 # Public-facing URL of the Formbricks instance (e.g. https://surveys.example.com) WEBAPP_URL=http://localhost:3000 # Secret used to sign NextAuth session tokens — generate with: openssl rand -base64 32 NEXTAUTH_SECRET=change-me-generate-with-openssl-rand-base64-32 # 32-byte hex encryption key for sensitive data at rest — generate with: openssl rand -hex 32 ENCRYPTION_KEY=change-me-generate-with-openssl-rand-hex-32 # ─── SMTP / Email ───────────────────────────────────────────────────────────── # From address used for outgoing emails MAIL_FROM=noreply@example.com # SMTP server hostname SMTP_HOST=smtp.example.com # SMTP server port (typically 587 for STARTTLS, 465 for SSL) SMTP_PORT=587 # Set to 1 to enable TLS/SSL on the SMTP connection SMTP_SECURE_ENABLED=0 # SMTP authentication username SMTP_USER=smtp-user@example.com # SMTP authentication password SMTP_PASSWORD=changeme