rwadurian/backend/services/reward-service/.env.test

26 lines
670 B
Plaintext

# Test Environment
NODE_ENV=test
PORT=3005
# Database (for integration tests with Docker)
DATABASE_URL=postgresql://test:test@localhost:5433/reward_test
# JWT
JWT_SECRET=test-secret-key-for-testing
JWT_ACCESS_EXPIRES_IN=1h
# Redis (for integration tests with Docker)
REDIS_HOST=localhost
REDIS_PORT=6380
REDIS_PASSWORD=
# Kafka (for integration tests with Docker)
KAFKA_BROKERS=localhost:9093
KAFKA_CLIENT_ID=reward-service-test
KAFKA_GROUP_ID=reward-service-test-group
# External Services (mocked in tests)
REFERRAL_SERVICE_URL=http://localhost:3001
AUTHORIZATION_SERVICE_URL=http://localhost:3002
WALLET_SERVICE_URL=http://localhost:3003