SECRET_KEY=change-me-in-production DATABASE_URL=postgresql+psycopg2://doceditor:doceditor@localhost:5432/doceditor CORS_ORIGINS=http://localhost:5173,http://localhost:3000,http://127.0.0.1:5173 # Initial admin user (created on startup if not exists) ADMIN_EMAIL=admin@example.com ADMIN_USERNAME=admin ADMIN_PASSWORD=admin123 # Frontend URL (used in activation/reset emails) FRONTEND_URL=http://localhost:5173 # SMTP (leave SMTP_HOST empty to log emails to console in dev) SMTP_HOST= SMTP_PORT=587 SMTP_USER= SMTP_PASSWORD= SMTP_FROM=noreply@example.com SMTP_USE_TLS=true # Code expiration (hours) ACTIVATION_CODE_EXPIRE_HOURS=24 PASSWORD_RESET_CODE_EXPIRE_HOURS=1