# Database
# Add connection_limit and pool_timeout for serverless/production environments:
# Example: ?schema=public&connection_limit=5&pool_timeout=10
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/prompts_chat?schema=public"

# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-super-secret-key-change-in-production"

# OAuth Providers (optional - enable in prompts.config.ts)
# GOOGLE_CLIENT_ID=""
# GOOGLE_CLIENT_SECRET=""
# AZURE_AD_CLIENT_ID=""
# AZURE_AD_CLIENT_SECRET=""
# AZURE_AD_TENANT_ID=""
# GITHUB_CLIENT_ID=your_client_id
# GITHUB_CLIENT_SECRET=your_client_secret

# Run `npx auth add apple` to generate the secret, follow the instructions in the prompt
# AUTH_APPLE_ID=""
# AUTH_APPLE_SECRET=""

# ENABLED_STORAGE="do-spaces" | "s3" | "url"

# Storage Providers (optional - enable in prompts.config.ts)
# S3_BUCKET=""
# S3_REGION=""
# S3_ACCESS_KEY_ID=""
# S3_SECRET_ACCESS_KEY=""
# S3_ENDPOINT="" # For S3-compatible services like MinIO

# DigitalOcean Spaces (optional - S3-compatible storage)
# DO_SPACES_BUCKET=""
# DO_SPACES_REGION="" # e.g., nyc3, sfo3, ams3, sgp1, fra1
# DO_SPACES_ACCESS_KEY_ID=""
# DO_SPACES_SECRET_ACCESS_KEY=""
# DO_SPACES_CDN_ENDPOINT="" # Optional: for CDN-enabled Spaces

# AI Features (optional - enable aiSearch/aiGeneration in prompts.config.ts)
# OPENAI_API_KEY=your_openai_api_key
# OPENAI_BASE_URL=https://api.openai.com/v1  # Optional: custom base URL for OpenAI-compatible APIs
# OPENAI_EMBEDDING_MODEL=text-embedding-3-small  # Optional: embedding model for AI search
# OPENAI_GENERATIVE_MODEL=gpt-4o-mini  # Optional: generative model for AI generation
# OPENAI_TRANSLATION_MODEL=gpt-4o-mini  # Optional: model for translating non-English search queries

# GOOGLE_ANALYTICS_ID="G-XXXXXXXXX"

# Logging (optional)
# LOG_LEVEL="info"  # Options: trace, debug, info, warn, error, fatal

# Cron Job Secret (for daily credit reset)
CRON_SECRET="your-secret-key-here"

# Media Generation - Wiro.ai (optional)
# WIRO_API_KEY=your_wiro_api_key
# WIRO_VIDEO_MODELS="google/veo3.1-fast"  # Comma-separated list of video models
# WIRO_IMAGE_MODELS="google/nano-banana-pro,google/nano-banana"  # Comma-separated list of image models

# Media Generation - Fal.ai (optional)
# FAL_API_KEY=your_fal_api_key
# FAL_VIDEO_MODELS="fal-ai/veo3,fal-ai/kling-video/v2/master/text-to-video"  # Comma-separated list of video models
# FAL_IMAGE_MODELS="fal-ai/flux-pro/v1.1-ultra,fal-ai/flux/dev"  # Comma-separated list of image models