27 lines
630 B
Plaintext
27 lines
630 B
Plaintext
# 应用配置
|
|
NODE_ENV=development
|
|
PORT=3004
|
|
APP_NAME=referral-service
|
|
|
|
# 数据库
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/rwadurian_referral?schema=public"
|
|
|
|
# JWT (与 identity-service 共享密钥)
|
|
JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
|
JWT_ACCESS_EXPIRES_IN=2h
|
|
JWT_REFRESH_EXPIRES_IN=7d
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
|
|
# Kafka
|
|
KAFKA_BROKERS=localhost:9092
|
|
KAFKA_GROUP_ID=referral-service-group
|
|
KAFKA_CLIENT_ID=referral-service
|
|
|
|
# 外部服务
|
|
IDENTITY_SERVICE_URL=http://localhost:3001
|
|
PLANTING_SERVICE_URL=http://localhost:3003
|