# Backend environment. npm scripts override APP_ENV explicitly; this is the
# fallback used by direct `node server.js` execution.
APP_ENV=development

# Development
DEV_APP_URL=http://localhost:5173
DEV_API_URL=http://localhost:5000
DEV_ALLOW_PRIVATE_NETWORK_ORIGINS=true

# Production
PROD_APP_URL=https://ops.notioninsurance.in
PROD_API_URL=https://www.opsapi.notioninsurance.co.in
PROD_ALLOW_PRIVATE_NETWORK_ORIGINS=false

# Database Configuration
# DB_HOST=122.168.194.100
# DB_PORT=3306
# DB_CONNECTION_LIMIT=5
# DB_CONNECT_TIMEOUT_MS=10000
# DB_USER=notion_ops
# DB_PASSWORD=Notion@ops26
# DB_NAME=notion_ops

DB_HOST=localhost
DB_PORT=3306
DB_CONNECTION_LIMIT=5
DB_CONNECT_TIMEOUT_MS=10000
DB_USER=root
DB_PASSWORD=
DB_NAME=notion

# Upload Configuration
BASE_UPLOAD_PATH=public/uploads
MAX_FILE_SIZE=10485760

# OCR Configuration
OCR_PROVIDER=tesseract

GEMINI_API_KEY=
GOOGLE_APPLICATION_CREDENTIALS=
MOTOR_POLICY_STORAGE_ROOT=storage/motorpolicy

# JWT Configuration
JWT_SECRET=replace-this-with-a-long-random-production-secret
JWT_EXPIRY=4h

# SMTP Configuration
SMTP_HOST=smtpout.secureserver.net
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=admin@notioninsurance.com
SMTP_PASS=Notion@admin25
SMTP_FROM="Notion Insurance <admin@notioninsurance.com>"
