docs: align documentation and homepage config with ADR 001
This commit is contained in:
1 parent
dabd2208ff
commit
25e60bef3f
2 files changed
+6
-14
No files matched your search
@@ -3,10 +3,6 @@
|
||||
*/
|
||||
|
||||
function getApiBase() {
|
||||
const host = window.location.hostname;
|
||||
if (host === 'localhost' || host.endsWith('.localhost')) {
|
||||
return `http://learning.localhost`;
|
||||
}
|
||||
return `https://learning.arch-services.mywire.org`;
|
||||
}
|
||||
|
||||
|
||||
+6
-10
@@ -40,19 +40,15 @@
|
||||
<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>Access URL:</strong> <a href="https://arch-services.mywire.org">https://arch-services.mywire.org</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>
|
||||
<h4>Local Access (Fast Lane)</h4>
|
||||
<p>To avoid traversing the public internet when you are on the same network as the server, we use a <strong>Public Domain + Local IP</strong> strategy (see <a href="adr-001-remove-localhost-routers.md">ADR 001</a>).</p>
|
||||
<p>Add the following to your machine's <code>/etc/hosts</code> file:</p>
|
||||
<pre><code>127.0.0.1 traefik.arch-services.mywire.org auth.arch-services.mywire.org jellyfin.arch-services.mywire.org gitea.arch-services.mywire.org excalidraw.arch-services.mywire.org homepage.arch-services.mywire.org mermaid.arch-services.mywire.org ollama.arch-services.mywire.org learning.arch-services.mywire.org logs.arch-services.mywire.org portainer.arch-services.mywire.org arch-services.mywire.org</code></pre>
|
||||
<p><em>Note: This ensures valid SSL and working SSO cookies for local sessions.</em></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user