Files
myeasycms-v2/.env.production.example

63 lines
1.7 KiB
Plaintext

# =====================================================
# MyEasyCMS v2 — Environment Variables (Production)
# Copy to .env and fill in your values
# =====================================================
# --- Supabase Database ---
POSTGRES_PASSWORD=change-me-to-a-strong-password
# --- Supabase Auth ---
JWT_SECRET=change-me-to-at-least-32-characters-long-secret
# Generate these with: npx supabase gen keys
SUPABASE_ANON_KEY=your-anon-key-here
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
# --- App ---
SITE_URL=https://myeasycms.de
APP_PORT=3000
# --- Kong (API Gateway) ---
KONG_HTTP_PORT=8000
KONG_HTTPS_PORT=8443
API_EXTERNAL_URL=https://api.myeasycms.de
# --- Studio (Dashboard) ---
STUDIO_PORT=54323
# --- Inbucket (Email testing — dev only) ---
INBUCKET_PORT=54324
# --- Email (SMTP) ---
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=noreply@myeasycms.de
SMTP_PASS=your-smtp-password
SMTP_ADMIN_EMAIL=admin@myeasycms.de
# --- Auth Settings ---
ENABLE_EMAIL_AUTOCONFIRM=false
DISABLE_SIGNUP=false
JWT_EXPIRY=3600
ADDITIONAL_REDIRECT_URLS=
# --- Webhooks ---
DB_WEBHOOK_SECRET=your-webhook-secret
# --- Monitoring (Sentry) ---
NEXT_PUBLIC_MONITORING_PROVIDER=sentry
NEXT_PUBLIC_SENTRY_DSN=https://your-dsn@o123456.ingest.sentry.io/123456
# NEXT_PUBLIC_SENTRY_ENVIRONMENT=production
# SENTRY_AUTH_TOKEN=your-auth-token-for-source-maps
# --- Feature Flags ---
# All default to true, set to false to disable
# NEXT_PUBLIC_ENABLE_MODULE_BUILDER=true
# NEXT_PUBLIC_ENABLE_MEMBER_MANAGEMENT=true
# NEXT_PUBLIC_ENABLE_COURSE_MANAGEMENT=true
# NEXT_PUBLIC_ENABLE_BOOKING_MANAGEMENT=false
# NEXT_PUBLIC_ENABLE_SEPA_PAYMENTS=true
# NEXT_PUBLIC_ENABLE_DOCUMENT_GENERATION=true
# NEXT_PUBLIC_ENABLE_NEWSLETTER=true
# NEXT_PUBLIC_ENABLE_SITE_BUILDER=true