# IGHub Users API — active configuration. # Loaded automatically by app/config.py (resolved next to this file, so it # works no matter which directory you launch uvicorn from). # Keep .env.example in sync when you add a key here. # --------------------------------------------------------------------------- # MongoDB # --------------------------------------------------------------------------- MONGO_URI=mongodb://admin:30e51UdjHo9YAiLF@127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=8000&connectTimeoutMS=8000&socketTimeoutMS=20000&authSource=admin MONGO_DB=ighub # --------------------------------------------------------------------------- # Server — used by `python main.py` # A --port flag on the uvicorn CLI overrides API_PORT. # --------------------------------------------------------------------------- API_HOST=127.0.0.1 API_PORT=8324 API_RELOAD=true # REQUIRED in production. Without it every /api route is open to anyone who can # reach the URL. Generate with: # python -c "import secrets; print(secrets.token_urlsafe(48))" API_KEY=9dTAu_8mY0sgHMUcodibe_l9VkIGP-Vi14_d-Nv8oZ6MYM0200LXBWKWKRZkhGvQ # The interactive docs map the whole surface; keep them off. DOCS_ENABLED=false # Exact origins, never "*", once credentials are involved. CORS_ORIGINS="*" API_TITLE=PHIDESK Collection API API_PREFIX=/api