fix: pass DISABLE_SIGNUPS and EMAIL_RATE_LIMIT_PER_SECOND through compose; trim .env.self-host.example
PR review (#371): scope the self-host baseline to envs that make sense without reselling Plunk. docker-compose.yml: pass through only DISABLE_SIGNUPS (private/single- admin self-host) and EMAIL_RATE_LIMIT_PER_SECOND (works around the silent 14/sec fallback when ses:GetSendQuota is denied). Drop the VERIFY_EMAIL_ON_SIGNUP and OPENROUTER_API_KEY passthroughs — signup hygiene and phishing detection are reselling concerns. .env.self-host.example: drop the entire Stripe Billing block (billing only matters when reselling), drop the VERIFY_EMAIL_ON_SIGNUP doc block for the same reason, and add an EMAIL_RATE_LIMIT_PER_SECOND section explaining the silent-14/sec fallback so operators know why they'd set it.
This commit is contained in:
@@ -190,6 +190,14 @@ services:
|
||||
# Security
|
||||
AUTO_PROJECT_DISABLE: ${AUTO_PROJECT_DISABLE:-false}
|
||||
|
||||
# Self-hosting user management (documented in .env.self-host.example
|
||||
# and read by apps/api/src/app/constants.ts at import time)
|
||||
DISABLE_SIGNUPS: ${DISABLE_SIGNUPS:-false}
|
||||
|
||||
# Explicit SES sending rate (avoid silent fallback to 14/sec when
|
||||
# ses:GetSendQuota is denied or transiently fails at worker startup)
|
||||
EMAIL_RATE_LIMIT_PER_SECOND: ${EMAIL_RATE_LIMIT_PER_SECOND:-}
|
||||
|
||||
volumes:
|
||||
# Persistent storage for application data
|
||||
- plunk_data:/app/data
|
||||
|
||||
Reference in New Issue
Block a user