rwadurian/backend/services/presence-service/.env.development

39 lines
994 B
Plaintext

# =============================================================================
# Presence Service - Development Environment
# =============================================================================
# Application
NODE_ENV=development
APP_PORT=3011
API_PREFIX=api/v1
# Database (PostgreSQL) - Local development
DATABASE_URL=postgresql://postgres:password@localhost:5432/rwa_presence?schema=public
# Redis - Local development
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# JWT (shared with identity-service)
JWT_SECRET=your-super-secret-jwt-key-change-in-production
# Kafka - Local development
KAFKA_ENABLED=true
KAFKA_BROKERS=localhost:9092
KAFKA_CLIENT_ID=presence-service
KAFKA_GROUP_ID=presence-service-group
KAFKA_TOPIC_PRESENCE=presence-events
KAFKA_TOPIC_ANALYTICS=analytics-events
# Presence Configuration
PRESENCE_WINDOW_SECONDS=180
SNAPSHOT_INTERVAL_SECONDS=60
# Timezone
TZ=Asia/Shanghai
# Logging
LOG_LEVEL=debug