Spaces:
Running
Running
| # Flow UI Deployment Environment | |
| # Copy this to deploy/.env and fill in values | |
| # This file is gitignored - secrets stay local | |
| # --- Azure OpenAI --- | |
| AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/ | |
| AZURE_OPENAI_API_KEY=your-key | |
| AZURE_OPENAI_DEPLOYMENT=gpt-4o | |
| # --- Authentication --- | |
| AUTH_ENABLED=true | |
| AUTH_MODE=github | |
| AUTH_SECRET=change-me-to-a-random-string | |
| # For GitHub OAuth (create app at https://github.com/settings/developers): | |
| # Homepage URL: https://victordibia-flow.hf.space | |
| # Callback URL: https://victordibia-flow.hf.space/api/auth/github/callback | |
| AUTH_GITHUB_CLIENT_ID=your-client-id | |
| AUTH_GITHUB_CLIENT_SECRET=your-client-secret | |
| AUTH_GITHUB_ALLOWED_USERS=victordibia,teammate1,teammate2 | |
| # For basic auth (simpler, no GitHub app needed): | |
| # AUTH_MODE=basic | |
| # AUTH_BASIC_USERNAME=admin | |
| # AUTH_BASIC_PASSWORD=your-password | |
| # --- Optional --- | |
| # AUTH_SESSION_HOURS=24 | |
| # UVICORN_WORKERS=2 | |