44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# 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
|
|
|
|
# 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
|
|
|
|
# GOOGLE_ANALYTICS_ID="G-XXXXXXXXX"
|
|
|
|
# Logging (optional)
|
|
# LOG_LEVEL="info" # Options: trace, debug, info, warn, error, fatal |