# =====================================================
# 🔧 Django Environment Configuration
# =====================================================

# Debug mode (True for development, False for production)
DEBUG=False

# Secret key used for cryptographic signing
SECRET_KEY={secret_key}

BASE_URL=http://127.0.0.1:8000
BACKEND_URL=http://127.0.0.1:8000
FRONTEND_URL=http://127.0.0.1:3000

# =====================================================
# 🗄️ Database Configuration
# =====================================================
# By default, SQLite is used. Uncomment and configure 
# the variables below to use PostgreSQL or another DB.
# =====================================================

# Example:
DATABASE_ENGINE=django.db.backends.postgresql
DATABASE_NAME=mydb
DATABASE_USER=myuser
DATABASE_PASSWORD=mypass
DATABASE_HOST=localhost
DATABASE_PORT=5432
#
# For SQLite (default):
DATABASE_ENGINE=django.db.backends.sqlite3
DATABASE_NAME=db.sqlite3

# =====================================================
# 📧 Email Configuration
# =====================================================
EMAIL_HOST=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=
DEFAULT_FROM_EMAIL=

# =====================================================
# ☁️ Azure Communication Services (Email)
# =====================================================
# Production sends go through ACS when endpoint + access_key are configured.
# In dev/tests, leave them blank to fall back to console.EmailBackend.
AZURE_COMMUNICATION_ENDPOINT=
AZURE_COMMUNICATION_ACCESS_KEY=
AZURE_COMMUNICATION_EMAIL_SENDER_NO_REPLY=
AZURE_COMMUNICATION_EMAIL_SENDER_NOTIFICATION=
AZURE_COMMUNICATION_EMAIL_SENDER_SUPPORT=
AZURE_COMMUNICATION_EMAIL_SENDER_MARKETING=
AZURE_COMMUNICATION_EMAIL_SENDER=
AZURE_COMMUNICATION_EMAIL_DEFAULT_SENDER_KEY=notification
AZURE_COMMUNICATION_EMAIL_POLLING_INTERVAL_SECONDS=2
AZURE_COMMUNICATION_EMAIL_TIMEOUT_SECONDS=60

# =====================================================
# 🔐 JWT Authentication Settings
# =====================================================
# Token lifetime in minutes
JWT_ACCESS_TTL_MINUTES=15

# =====================================================
# 🔁 Redis Configuration
# =====================================================
REDIS_HOST=
REDIS_USER=
REDIS_PASSWORD=
REDIS_PORT=

# =====================================================
# 🛡️ Sentry Configuration
# =====================================================
# Sentry DSN for error tracking and performance monitoring
SENTRY_DSN=

# =====================================================
# ☁️ Cloudflare R2 (S3-compatible Storage)
# =====================================================
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET=
R2_REGION=auto
R2_ENDPOINT=
R2_PUBLIC_BASE_URL=
R2_MEDIA_PATH=

# =====================================================
# ☁️ External Service Credentials
# =====================================================
# Azure Email Services
BEEM_API_KEY=
SELCOM_MERCHANT_ID=
CLICKPESA_CLIENT_ID=
POLAR_API_KEY=
