# 应用配置 NODE_ENV=development PORT=3005 APP_NAME=reward-service # 数据库 DATABASE_URL="postgresql://postgres:postgres@localhost:5432/rwadurian_reward?schema=public" # JWT (与 identity-service 共享密钥) JWT_SECRET=your-super-secret-jwt-key-change-in-production JWT_ACCESS_EXPIRES_IN=2h # Redis REDIS_HOST=localhost REDIS_PORT=6379 REDIS_PASSWORD= # Kafka KAFKA_BROKERS=localhost:9092 KAFKA_GROUP_ID=reward-service-group KAFKA_CLIENT_ID=reward-service # 外部服务 IDENTITY_SERVICE_URL=http://localhost:3001 REFERRAL_SERVICE_URL=http://localhost:3004 AUTHORIZATION_SERVICE_URL=http://localhost:3006 WALLET_SERVICE_URL=http://localhost:3002 PLANTING_SERVICE_URL=http://localhost:3003 # 奖励过期检查间隔(毫秒) REWARD_EXPIRATION_CHECK_INTERVAL=3600000 # 总部社区账户ID HEADQUARTERS_COMMUNITY_USER_ID=1