# CellTrace Environment Variables Template # Copy this file to '.env' and fill in the values. # Do NOT commit '.env' to version control. # --- App Settings --- PORT=8080 ENV=development # development, staging, production LOG_LEVEL=INFO # --- Security & Database (Secrets loaded from Secret Manager in Staging/Prod) --- # DB connection string for the Lab Data MCP server DATABASE_URL=postgresql://user:password@localhost:5432/celltrace # --- External Services --- # Optional Hugging Face token. Public Spaces can work anonymously, but Hugging # Face ZeroGPU quota may require a token for reliable local testing. # HF_TOKEN=your_hugging_face_token_here # Gemini API configuration for Phase 2 LLM QA Reviewer # GEMINI_API_KEY=your_gemini_api_key_here # GEMINI_QA_MODEL=gemini-2.5-flash # --- Pipeline Configuration --- # Options: space, local, http CELLPOSE_BACKEND=space CELLPOSE_SPACE=mouseland/cellpose CELLPOSE_MODEL=cpsam_v2 CELLPOSE_USE_GPU=false CELLPOSE_SERVER_URL=http://localhost:8081 CELLPOSE_HTTP_TIMEOUT_SECONDS=1800 SEGMENT_CACHE_DIR=/tmp/celltrace_cache # --- Firebase Configuration --- # Service Account JSON key path for the backend Admin SDK FIREBASE_SERVICE_ACCOUNT_PATH=firebase-credentials.json # Web client configuration snippet keys FIREBASE_API_KEY=YOUR_FIREBASE_API_KEY FIREBASE_AUTH_DOMAIN=YOUR_PROJECT.firebaseapp.com FIREBASE_PROJECT_ID=YOUR_PROJECT_ID FIREBASE_STORAGE_BUCKET=YOUR_PROJECT.firebasestorage.app FIREBASE_MESSAGING_SENDER_ID=YOUR_SENDER_ID FIREBASE_APP_ID=YOUR_APP_ID MEASUREMENT_ID=YOUR_MEASUREMENT_ID FIREBASE_APP_CHECK_SITE_KEY=YOUR_RECAPTCHA_SITE_KEY