# Application
NODE_ENV=development
PORT=3024

# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/rwa_auth?schema=public"

# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=

# Kafka (CDC)
KAFKA_BROKERS=localhost:9092
CDC_TOPIC_USERS=dbserver1.public.users
CDC_CONSUMER_GROUP=auth-service-cdc-group

# JWT
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=7d
JWT_REFRESH_EXPIRES_IN=30d

# SMS (阿里云短信)
SMS_ACCESS_KEY_ID=
SMS_ACCESS_KEY_SECRET=
SMS_SIGN_NAME=榴莲生态
SMS_TEMPLATE_CODE=SMS_123456789

# SMS Verification
SMS_CODE_EXPIRE_SECONDS=300
SMS_CODE_LENGTH=6
SMS_DAILY_LIMIT=10

# Password
PASSWORD_SALT_ROUNDS=12
PASSWORD_MIN_LENGTH=8
PASSWORD_MAX_LENGTH=32

# KYC
KYC_STORAGE_PATH=/data/kyc
KYC_MAX_FILE_SIZE=5242880

# Rate Limiting
THROTTLE_TTL=60
THROTTLE_LIMIT=10
