| # ========================================== | |
| # FACE RECOGNITION SERVICE CONFIGURATION | |
| # ========================================== | |
| # SECURITY CRITICAL: Must be at least 32 characters long. | |
| # All requests to this service MUST include the 'X-API-Key' header with this value. | |
| # In production, if this value is empty, the server will CRASH for safety. | |
| FACE_API_KEY=rp4MWc9xZpHw0WC2pmv-vz9nVJiBnds75mhCzeQKskI | |
| # Database Connection (MongoDB Cluster or Local) | |
| MONGODB_URL=mongodb+srv://user:pass@cluster.nbqpit4.mongodb.net/?retryWrites=true&w=majority | |
| # Core Server URL (for configuration sync) | |
| CORE_SERVER_URL=https://edusyncserver.vercel.app | |
| # Path to the InsightFace pre-trained models | |
| MODEL_PATH=app/models/w600k_mbf.onnx | |
| # Deployment Port | |
| PORT=8000 | |
| NODE_ENV=development # Change to 'production' for strict security checks | |