32 lines
730 B
Plaintext
32 lines
730 B
Plaintext
# Test Environment Configuration
|
|
|
|
# Database - 使用测试数据库
|
|
DATABASE_URL="postgresql://postgres:password@localhost:5432/rwa_identity_test?schema=public"
|
|
|
|
# JWT
|
|
JWT_SECRET="test-jwt-secret-key-for-e2e-tests"
|
|
JWT_ACCESS_EXPIRES_IN="2h"
|
|
JWT_REFRESH_EXPIRES_IN="30d"
|
|
|
|
# Redis
|
|
REDIS_HOST="localhost"
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=""
|
|
REDIS_DB=1
|
|
|
|
# Kafka - 测试环境
|
|
KAFKA_BROKERS="localhost:9092"
|
|
KAFKA_CLIENT_ID="identity-service-test"
|
|
KAFKA_GROUP_ID="identity-service-test-group"
|
|
|
|
# SMS Service - 可以使用mock
|
|
SMS_API_URL="https://sms-api.example.com"
|
|
SMS_API_KEY="test-sms-api-key"
|
|
|
|
# App
|
|
APP_PORT=3001
|
|
APP_ENV="test"
|
|
|
|
# Blockchain Encryption
|
|
WALLET_ENCRYPTION_SALT="test-wallet-salt"
|