# Environment / Môi Trường
ASPNETCORE_ENVIRONMENT=Development

# Database / Cơ Sở Dữ Liệu
# PostgreSQL connection string (Neon or local)
DATABASE_URL=Host=localhost;Port=5432;Database=mkt-zalo-service_db;Username=postgres;Password=postgres

# Redis Cache
REDIS_URL=localhost:6379
REDIS_PASSWORD=

# JWT Authentication / Xác Thực JWT
JWT_SECRET=your-secret-key-min-32-characters-long-here
JWT_ISSUER=goodgo-platform
JWT_AUDIENCE=goodgo-services
JWT_ACCESS_TOKEN_EXPIRY_MINUTES=15
JWT_REFRESH_TOKEN_EXPIRY_DAYS=7

# Zalo Official Account / Zalo OA
ZALOOA__APPID=your-zalo-app-id
ZALOOA__SECRETKEY=your-zalo-secret-key
ZALOOA__ACCESSTOKEN=your-zalo-oa-access-token
ZALOOA__WEBHOOKSECRET=your-webhook-secret-for-signature
ZALOOA__BASEURL=https://openapi.zalo.me
ZALOOA__TIMEOUTSECONDS=30
ZALOOA__MAXRETRYATTEMPTS=3

# API Configuration / Cấu Hình API
API_PORT=5000
API_BASE_PATH=/api/v1/mkt-zalo-service

# Observability / Quan Sát
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
OTEL_SERVICE_NAME=mkt-zalo-service

# Logging
LOG_LEVEL=Information
SEQ_URL=http://localhost:5341

# Feature Flags
FEATURE_SWAGGER_ENABLED=true
FEATURE_DETAILED_ERRORS=true

# Rate Limiting
RATE_LIMIT_PERMITS_PER_MINUTE=100
RATE_LIMIT_QUEUE_LIMIT=10

# Health Checks
HEALTHCHECK_TIMEOUT_SECONDS=5
