cuatrolabs-analytics-ms / .env.example
MukeshKapoor25's picture
Initial commit
b143975
# Application Configuration
APP_NAME=Analytics Microservice
APP_VERSION=1.0.0
DEBUG=false
# MongoDB Configuration
MONGODB_URI=mongodb://localhost:27017
MONGODB_DB_NAME=cuatrolabs
# PostgreSQL Configuration
DB_PROTOCOL=postgresql+asyncpg
DB_USER=postgres
DB_PASSWORD=your-db-password
DB_HOST=localhost
DB_PORT=5432
DB_NAME=cuatrolabs
DB_SSLMODE=disable
DATABASE_URL=postgresql+asyncpg://postgres:your-db-password@localhost:5432/cuatrolabs
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password
REDIS_DB=0
# JWT Configuration
SECRET_KEY=your-secret-key-here-change-in-production
ALGORITHM=HS256
TOKEN_EXPIRATION_HOURS=8
# Logging Configuration
LOG_LEVEL=INFO
LOG_FORMAT=json
LOG_DIR=logs
LOG_MAX_BYTES=52428800
LOG_BACKUP_COUNT=10
# CORS Settings
CORS_ORIGINS=["http://localhost:3000","http://localhost:8000"]
# Root path (for reverse proxy / k8s ingress)
ROOT_PATH=