diff --git a/LICENSE b/LICENSE index e69de29..fdddb29 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index 8a79664..39f8558 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,40 @@ # 📚 Homelab Doc2Site (Documentation Viewer) -Reactive documentation static site generator and viewer for personal knowledge docs and study guides. - -Part of the [homelab-core](https://github.com/kiskaadee/homelab-core) cluster ecosystem. +Reactive documentation static site generator and viewer for the `roadtotech.me` knowledge vault (`~/Brain`). --- ## 🏗️ Architecture & Requirements -- **Proxy**: Traefik (attached to `proxy-net`) -- **Port**: `8000` (FastAPI/Static service) +- **Proxy Network**: Attached to external `proxy-net` - **Domain**: `docs.roadtotech.me` +- **Target Port**: `8000` (FastAPI/Static service) +- **Docs Root Source**: `/home/kiskaadee/Brain` (mounted read-only to `/docs:ro`) --- -## ⚙️ Environment Variables +## ⚙️ Configuration & Metadata (`app.yaml`) -| Variable | Description | Default / Example | -| :--- | :--- | :--- | -| `DOCS_DOMAIN` | Routed FQDN | `docs.roadtotech.me` | -| `DOCS_PROJECT_PATH` | Path to docs source | `~/Brain` | +```yaml +name: "docs" +aliases: + - "doc2site" + - "notes" +domain: "docs.roadtotech.me" +description: "Reactive Obsidian & Markdown Documentation Viewer" +visible: true +auth: false +networks: + - proxy-net +env: + PROJECT_PATH: "/home/kiskaadee/Brain" +homepage: + title: "Docs-Viewer" + group: "Knowledge & Notes" + icon: "files.png" + container: "docs" + weight: 10 +``` --- @@ -27,10 +42,15 @@ Part of the [homelab-core](https://github.com/kiskaadee/homelab-core) cluster ec ### Via Orchestrator (`appctl`) ```bash -appctl up homelab-doc2site +appctl up docs ``` ### 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).