-
Notifications
You must be signed in to change notification settings - Fork 6
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Overview
Create a clear, exhaustive guide on how to configure the dashboard with all required environment variables. The guide should focus on variables loaded from .env files (parsed in dashboard/core/settings.py) as well as those referenced through django.settings or os.environ within the dashboard/* submodules. The file to be updated is dashboard/environment.md, which already contains partial documentation—please extend and refine it directly.
Tasks
- Audit all variables used in dashboard code:
- Review
dashboard/core/settings.pyand alldashboard/*modules to list every variable loaded from the environment (either viaenviron.Env()oros.environ). - Cross-check with variables loaded into
django.settingsand referenced anywhere in the dashboard codebase.
- Review
- Describe each variable:
- For each variable, provide a description, expected type/values, defaults, and where/how it is used (e.g., authentication, storage, deployment, etc.).
- Include variables for OAuth/OIDC, MinIO, ArgoCD, DB (MySQL/SQLite), Discord, OpenWebAI, ingress, and any others referenced in code or in
dashboard/environment.md.
- Check MAIA package integration:
- Identify all functions in the
MAIApackage (e.g.,MAIA/maia_admin.py) called from the dashboard (notably, via e.g.,from MAIA.kubernetes_utils import ...in dashboard views). - Document any environment variables or configuration fields used by these MAIA functions that are required for dashboard operation or deployment.
- Identify all functions in the
- Update and extend
dashboard/environment.md:- Add missing variables, clarify descriptions, and provide concrete examples if possible.
- Organize the guide by logical sections (authentication, storage, deployment, etc.).
- Clearly distinguish between variables used by the dashboard itself and those required for MAIA or third-party integrations.
References
- The current draft content in
dashboard/environment.md. - Variables and usage in
dashboard/core/settings.pyand otherdashboard/*code. - MAIA integration points, especially in
maia_admin.py. - Sample variables from
dashboard/README.mdand Helm deployment scripts.
Acceptance Criteria
- The documentation in
dashboard/environment.mdis accurate, comprehensive, and easy to follow. - All necessary environment variables for both dashboard and MAIA usage are included, described, and organized.
- The guide enables a new user to fully configure and deploy the dashboard with all integrations enabled.
Related files:
dashboard/environment.md(to be updated)dashboard/core/settings.py(reference)MAIA/maia_admin.py,dashboard/apps/home/views.py, and any other dashboard code importing from MAIA
Labels: documentation
Issue type: Task
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation