Files
nixos-core/docs/usability.html
T
kiskaadee 0281935169 feat(arch): enable .localhost subdomains and docker-aware dashboard
- Updated all services to be reachable via *.localhost for local access.
- Integrated Homepage dashboard with Docker socket via socket-proxy.
- Populated Homepage services with live container status monitoring.
- Updated usability documentation to include local access instructions.
2026-05-14 08:03:00 -05:00

102 lines
3.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Usability & Operations | Hardened Hub</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<header>
<h1>🖱️ Usability & Operational Notes</h1>
<p>A guide for interacting with the Hardened Hub once deployed.</p>
</header>
<nav>
<h4>Topics</h4>
<ul>
<li><a href="#auth">Authentication</a></li>
<li><a href="#nav">Navigation</a></li>
<li><a href="#mgmt">Management</a></li>
<li><a href="#add">Adding Apps</a></li>
<li><a href="#ollama">Ollama API</a></li>
</ul>
</nav>
<section id="auth">
<h2>🔑 Authentication (SSO)</h2>
<p>Most services are protected by <strong>Authelia</strong>.</p>
<ol>
<li>Access a protected service (e.g., <code>gitea.*</code>).</li>
<li>You will be redirected to the Auth Portal (<code>auth.*</code>).</li>
<li>Log in with your credentials.</li>
<li>Once authenticated, you have global access to all SSO-enabled services.</li>
</ol>
</section>
<section id="nav">
<h2>🧭 Navigating the Hub</h2>
<p>The <strong>Homepage</strong> dashboard is your central entry point:</p>
<ul>
<li><strong>Public URL:</strong> <a href="https://arch-services.mywire.org">https://arch-services.mywire.org</a></li>
<li><strong>Local URL:</strong> <a href="http://homepage.localhost">http://homepage.localhost</a></li>
<li><strong>Widgets:</strong> View real-time Docker container statuses, system resources, and service links.</li>
</ul>
<div class="layer-box">
<h4>Local Access (.localhost)</h4>
<p>All services are also reachable locally without external DNS. Browsers automatically resolve <code>*.localhost</code> to your machine.</p>
<ul>
<li><code>http://gitea.localhost</code></li>
<li><code>http://auth.localhost</code></li>
<li><code>http://logs.localhost</code></li>
<li><code>http://portainer.localhost</code></li>
</ul>
</div>
</section>
<section id="mgmt">
<h2>🛠️ Service Management</h2>
<h3>Deployment Scripts</h3>
<pre><code># Start everything
./up.sh
# Start ONLY the Control Plane
./up.sh --infra-only
# Stop all services
./down.sh</code></pre>
</section>
<section id="add">
<h2>➕ Adding a New Application</h2>
<ol>
<li>Create <code>apps/your-app/docker-compose.yml</code>.</li>
<li>Connect to <code>proxy-net</code>.</li>
<li>Add Traefik labels for routing and Authelia protection.</li>
<li>Update <code>apps/homepage/config/services.yaml</code>.</li>
</ol>
</section>
<section id="ollama">
<h2>🤖 Ollama API & Automation</h2>
<p>Uses a hybrid security model for browser and CLI access.</p>
<div class="layer-box">
<h4>API Key / Trusted Payload</h4>
<p><strong>Header:</strong> <code>X-Ollama-Key: sk-ollama-hardened-hub-2026</code></p>
<pre><code>curl https://ollama.arch-services.mywire.org/api/generate \
-H "X-Ollama-Key: sk-ollama-hardened-hub-2026" \
-d '{"model": "llama3", "prompt": "hi"}'</code></pre>
</div>
</section>
<footer>
<p>(c) 2026 | <a href="https://roadtotech.me">Kiskaadee</a></p>
</footer>
</main>
</body>
</html>