40 lines
893 B
Bash
40 lines
893 B
Bash
# Resend API Configuration
|
|
RESEND_API_KEY=your_resend_api_key_here
|
|
|
|
# Company Email (接收联系表单邮件的邮箱)
|
|
COMPANY_EMAIL=contact@novalon.cn
|
|
|
|
# Next.js Configuration
|
|
NEXT_PUBLIC_SITE_URL=http://localhost:3000
|
|
|
|
# Sentry Error Monitoring (Optional - for production)
|
|
NEXT_PUBLIC_SENTRY_DSN=https://xxx@xxx.ingest.sentry.io/xxx
|
|
|
|
# NextAuth Configuration
|
|
NEXTAUTH_SECRET=your-secret-key-here
|
|
NEXTAUTH_URL=http://localhost:3000
|
|
|
|
# Admin User
|
|
ADMIN_EMAIL=admin@novalon.cn
|
|
ADMIN_PASSWORD=your-secure-password
|
|
|
|
# Database
|
|
DATABASE_URL=file:./data/dev.db
|
|
|
|
# File Upload
|
|
UPLOAD_DIR=./uploads
|
|
MAX_FILE_SIZE=10485760
|
|
|
|
# Security Configuration
|
|
# Rate Limiting (每分钟最大请求数)
|
|
RATE_LIMIT_MAX_REQUESTS=10
|
|
RATE_LIMIT_WINDOW_MS=60000
|
|
|
|
# Captcha Configuration
|
|
CAPTCHA_EXPIRY_MS=300000
|
|
CAPTCHA_MAX_ATTEMPTS=3
|
|
|
|
# Security Logging
|
|
SECURITY_LOG_RETENTION_DAYS=30
|
|
SECURITY_LOG_MAX_ENTRIES=1000
|