Files
website/.env.production.example
2025-11-21 23:18:13 +08:00

25 lines
471 B
Bash

# OmniVerse Production Environment Configuration
# Application
NODE_ENV=production
# News Crawler Service
PORT=3001
API_KEY=your-secure-api-key-here-change-this
ENABLE_SCHEDULER=true
CRAWL_INTERVAL_MINUTES=30
MAX_NEWS_AGE_DAYS=7
# Database
DATABASE_PATH=./data/news.db
# Logging
LOG_LEVEL=info
LOG_FILE=./logs/app.log
# Cache
CACHE_TTL_SECONDS=300
# CORS (允许的前端域名)
CORS_ORIGIN=https://www.omniverseai.net,https://omniverseai.net,http://localhost:3000