- Add Runtime service to Docker Compose stack - Configure Runtime API integration in Router config - Add mock Runtime server for development - Update Router with Runtime API environment variables - Update Makefile to include Runtime health checks - Configure runtime execution models (Python/TypeScript) - Fix Hanzo Router branding (build with enterprise colors) - Add runtime access points to documentation
37 lines
775 B
Bash
37 lines
775 B
Bash
# Test Environment Configuration
|
|
NODE_ENV=test
|
|
|
|
# MongoDB for tests (use in-memory or test container)
|
|
MONGO_URI=mongodb://localhost:27017/HanzoChat_test
|
|
|
|
# Disable external services in tests
|
|
MEILI_HOST=
|
|
RAG_API_URL=
|
|
|
|
# Test user configuration
|
|
ALLOW_REGISTRATION=true
|
|
ALLOW_UNVERIFIED_EMAIL_LOGIN=true
|
|
|
|
# Disable rate limiting in tests
|
|
RATE_LIMIT_ENABLED=false
|
|
|
|
# Use test keys
|
|
CREDS_KEY=test-creds-key-32-chars-long-string
|
|
CREDS_IV=test-creds-iv-16
|
|
JWT_SECRET=test-jwt-secret-very-secure
|
|
JWT_REFRESH_SECRET=test-jwt-refresh-secret
|
|
|
|
# Disable analytics in tests
|
|
GOOGLE_ANALYTICS_ID=
|
|
SENTRY_DSN=
|
|
|
|
# Test domain
|
|
DOMAIN_CLIENT=http://localhost:3080
|
|
DOMAIN_SERVER=http://localhost:3080
|
|
|
|
# Disable SSL in tests
|
|
TRUST_PROXY=0
|
|
|
|
# Silent logging
|
|
DEBUG_LOGGING=false
|
|
CONSOLE_JSON=false |