# Flask
FLASK_ENV=production
FLASK_DEBUG=0
SECRET_KEY=replace-with-a-long-random-secret-key
INTERNAL_ADMIN_EMAILS=admin@dociva.io

# Site Domain (used in sitemap, robots.txt, emails)
SITE_DOMAIN=https://dociva.io
FRONTEND_URL=https://dociva.io

# Redis
REDIS_URL=redis://redis:6379/0

# Celery
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/1

# OpenRouter AI
OPENROUTER_API_KEY=sk-or-v1-your-openrouter-api-key
OPENROUTER_MODEL=nvidia/nemotron-3-super-120b-a12b:free
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1/chat/completions

# AWS S3
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
AWS_S3_BUCKET=dociva-temp-files
AWS_S3_REGION=eu-west-1

# File Processing
MAX_CONTENT_LENGTH_MB=50
UPLOAD_FOLDER=/tmp/uploads
OUTPUT_FOLDER=/tmp/outputs
FILE_EXPIRY_SECONDS=1800
DATABASE_PATH=/app/data/dociva.db

# CORS
CORS_ORIGINS=https://dociva.io,https://www.dociva.io

# SMTP (Password reset + contact notifications)
SMTP_HOST=smtp.your-provider.com
SMTP_PORT=587
SMTP_USER=noreply@dociva.io
SMTP_PASSWORD=replace-with-smtp-password
SMTP_FROM=noreply@dociva.io
SMTP_USE_TLS=true

# Stripe Payments
STRIPE_SECRET_KEY=sk_test_XXXXXXXXXXXXXXXXXXXXXXXX
STRIPE_WEBHOOK_SECRET=whsec_XXXXXXXXXXXXXXXXXXXXXXXX
STRIPE_PRICE_ID_PRO_MONTHLY=price_XXXXXXXXXXXXXXXX
STRIPE_PRICE_ID_PRO_YEARLY=price_XXXXXXXXXXXXXXXX

# Sentry Error Monitoring
SENTRY_DSN=
SENTRY_ENVIRONMENT=production

# PostgreSQL (production) — leave empty to use SQLite
DATABASE_URL=sqlite3 /app/data/dociva.db
POSTGRES_DB=dociva
POSTGRES_USER=dociva
POSTGRES_PASSWORD=replace-with-strong-postgres-password

# Frontend
VITE_SITE_DOMAIN=https://dociva.io
VITE_SENTRY_DSN=

# Frontend Analytics / Ads (Vite)
VITE_GA_MEASUREMENT_ID=G-XXXXXXXXXX
VITE_PLAUSIBLE_DOMAIN=dociva.io
VITE_PLAUSIBLE_SRC=https://plausible.io/js/script.js
VITE_GOOGLE_SITE_VERIFICATION=
VITE_ADSENSE_CLIENT_ID=ca-pub-XXXXXXXXXXXXXXXX
VITE_ADSENSE_SLOT_HOME_TOP=1234567890
VITE_ADSENSE_SLOT_HOME_BOTTOM=1234567891
VITE_ADSENSE_SLOT_TOP_BANNER=1234567892
VITE_ADSENSE_SLOT_BOTTOM_BANNER=1234567893

# Feature Flags (set to "false" to disable a specific tool)
FEATURE_EDITOR=true
FEATURE_OCR=true
FEATURE_REMOVEBG=true

VITE_CLARITY_PROJECT_ID=vzw2jb2ipq