docs(dashboard): update README architecture, appctl deployment, and Unlicense

This commit is contained in:
kiskaadee committed 2026-09-03 23:44:36 -05:00
1 parent 5d2ee44a76
commit 95e48ec088
2 files changed
+59 -23

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>
+35 -23
View File
@@ -1,33 +1,39 @@
# 📊 Homelab Dashboard (getHomepage + Learning Hub)
# 📊 Homelab Dashboard (Homepage & Learning Hub)
Unified personal portal for the homelab infrastructure, combining:
1. **getHomepage**: Service catalog, dynamic system widgets, and bookmark launcher.
2. **Learning API (FastAPI + Turso)**: Backend service powering the embedded interactive Kanban board in the dashboard UI.
Part of the [homelab-core](https://github.com/kiskaadee/homelab-core) cluster ecosystem.
Unified service dashboard portal and learning hub backend for the `roadtotech.me` homelab cluster.
---
## 🏗️ Architecture & Stack
## 🏗️ Architecture & Requirements
- **Dashboard**: `ghcr.io/gethomepage/homepage:latest` (Port `3000`)
- **Learning Backend**: Custom Python/FastAPI app in `./learning/` (Port `8000`)
- **Database**: Cloud Turso / LibSQL
- **Ingress**: Traefik (attached to `proxy-net` & `socket-net`)
- **Proxy Network**: Attached to external `proxy-net`
- **Socket Network**: Attached to `socket-net` for container discovery
- **Domain**: `dashboard.roadtotech.me`
- **Learning Hub API**: `learning.roadtotech.me`
- **Target Ports**: `3000` (Homepage UI), `8000` (FastAPI / SQLite backend)
---
## ⚙️ Environment Variables & Secrets
## ⚙️ Configuration & Metadata (`app.yaml`)
Decrypted globally from SOPS via `/run/secrets/rendered/traefik-deployments.env`:
This application is self-describing via `app.yaml`:
| Variable | Description | Default / Example |
| :--- | :--- | :--- |
| `SERVICE_DOMAIN` | Dashboard FQDN | `dashboard.arch-services.mywire.org` |
| `LEARNING_DOMAIN` | Learning Backend API FQDN | `learning.arch-services.mywire.org` |
| `TURSO_DATABASE_URL` | Turso connection string | Loaded from SOPS |
| `TURSO_AUTH_TOKEN` | Turso authentication token | Loaded from SOPS |
| `PROXY_NETWORK` | Docker gateway network | `proxy-net` |
```yaml
name: "dashboard"
aliases:
- "dash"
domain: "dashboard.roadtotech.me"
description: "Homelab Service Dashboard & Application Launcher"
visible: false
auth: false
networks:
- proxy-net
- socket-net
env:
LEARNING_DOMAIN: "learning.roadtotech.me"
```
Homepage's `config/services.yaml` is dynamically generated from all registered `Sites/*/app.yaml` manifests using `appctl sync`.
---
@@ -35,11 +41,17 @@ Decrypted globally from SOPS via `/run/secrets/rendered/traefik-deployments.env`
### Via Orchestrator (`appctl`)
```bash
appctl up homelab-dashboard
appctl logs homelab-dashboard
appctl up dashboard
# or using the shortcut alias
appctl up dash
```
### Manual Deployment
```bash
docker compose up --build -d
docker compose up -d
```
---
## 📄 License
This repository is released into the public domain under the [Unlicense](LICENSE).