Archived
docs(docs): update README architecture, appctl deployment, and Unlicense
This commit is contained in:
1 parent
b7f6ddac2a
commit
d4b73d20d4
2 files changed
+56
-12
No files matched your search
@@ -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>
|
||||
@@ -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).
|
||||
Reference in new issue
Block a user