# E2E Test Environment Configuration # Copy this file to .env.e2e and update with your actual values # NEVER commit .env.e2e to version control! # ============================================ # DB API Configuration # ============================================ # URL of the DB API service (without trailing slash) E2E_DB_API_URL=http://localhost:8081/api/v1 # ============================================ # Test User Credentials # ============================================ # 8-digit test login that exists in DB API # Use a dedicated test account, not a real user! E2E_TEST_LOGIN=99999999 # ============================================ # IFT Environment (Bench Mode) # ============================================ # RAG backend host for IFT environment E2E_IFT_RAG_HOST=ift-rag.example.com # Bearer token for IFT RAG authentication E2E_IFT_BEARER_TOKEN=your_ift_bearer_token_here # System platform identifier for IFT E2E_IFT_SYSTEM_PLATFORM=telegram # System platform user identifier for IFT E2E_IFT_SYSTEM_PLATFORM_USER=test_user_ift # ============================================ # PSI Environment (Backend Mode) # ============================================ # RAG backend host for PSI environment E2E_PSI_RAG_HOST=psi-rag.example.com # Bearer token for PSI RAG authentication E2E_PSI_BEARER_TOKEN=your_psi_bearer_token_here # Platform user ID for PSI backend mode E2E_PSI_PLATFORM_USER_ID=test_user_psi # Platform ID for PSI backend mode E2E_PSI_PLATFORM_ID=telegram # ============================================ # PROD Environment (Bench Mode) # ============================================ # RAG backend host for PROD environment E2E_PROD_RAG_HOST=prod-rag.example.com # Bearer token for PROD RAG authentication E2E_PROD_BEARER_TOKEN=your_prod_bearer_token_here # System platform identifier for PROD E2E_PROD_SYSTEM_PLATFORM=telegram # System platform user identifier for PROD E2E_PROD_SYSTEM_PLATFORM_USER=test_user_prod # ============================================ # Notes # ============================================ # 1. All RAG hosts should be accessible from your machine # 2. Bearer tokens must be valid for their respective environments # 3. Test user (E2E_TEST_LOGIN) must exist in DB API # 4. IFT and PROD use bench mode (batch queries) # 5. PSI uses backend mode (sequential queries with session) # 6. Platform identifiers should match your actual platform setup # # Security: # - Keep this file secure (contains real credentials) # - Never commit .env.e2e to git # - Use dedicated test tokens, not production tokens if possible # - Consider using different bearer tokens for different environments