39 lines
862 B
Plaintext
39 lines
862 B
Plaintext
# Application
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
API_PREFIX=api/v1
|
|
|
|
# Database
|
|
DATABASE_URL="postgresql://user:password@localhost:5432/identity_db?schema=public"
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=0
|
|
|
|
# JWT
|
|
JWT_SECRET=your-super-secret-key-change-in-production
|
|
JWT_ACCESS_EXPIRATION=2h
|
|
JWT_REFRESH_EXPIRATION=30d
|
|
|
|
# Kafka
|
|
KAFKA_BROKERS=localhost:9092
|
|
KAFKA_CLIENT_ID=identity-service
|
|
KAFKA_GROUP_ID=identity-service-group
|
|
|
|
# SMS Provider (Aliyun)
|
|
SMS_PROVIDER=aliyun
|
|
SMS_ACCESS_KEY_ID=your-access-key-id
|
|
SMS_ACCESS_KEY_SECRET=your-access-key-secret
|
|
SMS_SIGN_NAME=RWA平台
|
|
SMS_TEMPLATE_CODE=SMS_123456789
|
|
|
|
# Blockchain RPC
|
|
KAVA_RPC_URL=https://kava-rpc.example.com
|
|
DST_RPC_URL=https://dst-rpc.example.com
|
|
BSC_RPC_URL=https://bsc-dataseed.binance.org
|
|
|
|
# Wallet Encryption
|
|
WALLET_ENCRYPTION_SALT=rwa-wallet-salt-change-in-production
|