# TrustOS Production Environment Configuration # Copy this file to .env.production and fill in the values # Database Configuration DATABASE_URL=postgresql+asyncpg://trustos:YOUR_DB_PASSWORD@your-db-host:5432/trustos SYNC_DATABASE_URL=postgresql://trustos:YOUR_DB_PASSWORD@your-db-host:5432/trustos # Security SECRET_KEY=YOUR_64_CHARACTER_RANDOM_SECRET_KEY_HERE ACCESS_TOKEN_EXPIRE_MINUTES=60 # AI Provider (optional but recommended) AI_PROVIDER=openai OPENAI_API_KEY=sk-your-openai-key-here ANTHROPIC_API_KEY=sk-ant-your-anthropic-key-here # Frontend Configuration NEXT_PUBLIC_API_URL=https://api.yourdomain.com NEXT_PUBLIC_APP_URL=https://yourdomain.com # Logging & Monitoring LOG_LEVEL=INFO SENTRY_DSN=https://your-sentry-key@sentry.io/project-id DEBUG=false # CORS Configuration CORS_ORIGINS=https://yourdomain.com,https://api.yourdomain.com # Email (for future notifications) SMTP_HOST=smtp.gmail.com SMTP_PORT=587 SMTP_USER=your-email@gmail.com SMTP_PASSWORD=your-app-password # Optional: External integrations HIBP_API_KEY=your-have-i-been-pwned-api-key NVD_API_KEY=your-nvd-api-key