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.
This commit is contained in:
kiskaadee committed 2026-05-14 08:03:00 -05:00
1 parent ecedf018f9
commit 0281935169
12 files changed
+93 -35

No files matched your search

+4 -2
View File
@@ -9,7 +9,8 @@ services:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.excalidraw.rule=Host(`excalidraw.arch-services.mywire.org`)"
- "traefik.http.routers.excalidraw.rule=Host(`excalidraw.arch-services.mywire.org`) || Host(`excalidraw.localhost`)"
- "traefik.http.routers.excalidraw.entrypoints=websecure"
- "traefik.http.routers.excalidraw.tls.certresolver=myresolver"
- "traefik.http.services.excalidraw.loadbalancer.server.port=80"
@@ -21,7 +22,8 @@ services:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.excalidraw-room.rule=Host(`excalidraw.arch-services.mywire.org`) && PathPrefix(`/socket.io`)"
- "traefik.http.routers.excalidraw-room.rule=(Host(`excalidraw.arch-services.mywire.org`) || Host(`excalidraw.localhost`)) && PathPrefix(`/socket.io`)"
- "traefik.http.routers.excalidraw-room.entrypoints=websecure"
- "traefik.http.routers.excalidraw-room.tls.certresolver=myresolver"
- "traefik.http.services.excalidraw-room.loadbalancer.server.port=8080"
+2 -1
View File
@@ -13,7 +13,8 @@ services:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.gitea.rule=Host(`gitea.arch-services.mywire.org`)"
- "traefik.http.routers.gitea.rule=Host(`gitea.arch-services.mywire.org`) || Host(`gitea.localhost`)"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
- "traefik.http.routers.gitea.middlewares=authelia-auth@docker"
+3 -6
View File
@@ -2,9 +2,6 @@
# For configuration options and examples, please see:
# https://gethomepage.dev/configs/docker/
# my-docker:
# host: 127.0.0.1
# port: 2375
# my-docker:
# socket: /var/run/docker.sock
my-docker:
host: socket-proxy
port: 2375
+52 -16
View File
@@ -1,18 +1,54 @@
---
# For configuration options and examples, please see:
# https://gethomepage.dev/configs/services/
# Infrastructure Group
- Infrastructure:
- Traefik:
icon: traefik.png
href: https://traefik.arch-services.mywire.org
description: Edge Router & SSL
server: my-docker
container: traefik
- Authelia:
icon: authelia.png
href: https://auth.arch-services.mywire.org
description: Identity & SSO
server: my-docker
container: authelia
- Portainer:
icon: portainer.png
href: https://portainer.arch-services.mywire.org
description: Container Management
server: my-docker
container: portainer
- Dozzle:
icon: dozzle.png
href: https://logs.arch-services.mywire.org
description: Log Viewer
server: my-docker
container: dozzle
- My First Group:
- My First Service:
href: http://localhost/
description: Homepage is awesome
- My Second Group:
- My Second Service:
href: http://localhost/
description: Homepage is the best
- My Third Group:
- My Third Service:
href: http://localhost/
description: Homepage is 😎
# Applications Group
- Applications:
- Gitea:
icon: gitea.png
href: https://gitea.arch-services.mywire.org
description: Git Service
server: my-docker
container: gitea
- Ollama:
icon: ollama.png
href: https://ollama.arch-services.mywire.org
description: AI Model Runner
server: my-docker
container: ollama-ollama-1
- Excalidraw:
icon: excalidraw.png
href: https://excalidraw.arch-services.mywire.org
description: Sketching Tool
server: my-docker
container: excalidraw-excalidraw-1
- Mermaid:
icon: mermaid.png
href: https://mermaid.arch-services.mywire.org
description: Diagramming Tool
server: my-docker
container: mermaid-live-editor
+5 -1
View File
@@ -9,9 +9,10 @@ services:
- HOMEPAGE_ALLOWED_HOSTS=arch-services.mywire.org
networks:
- proxy-net
- socket-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.homepage.rule=Host(`arch-services.mywire.org`)"
- "traefik.http.routers.homepage.rule=Host(`arch-services.mywire.org`) || Host(`homepage.localhost`)"
- "traefik.http.routers.homepage.entrypoints=websecure"
- "traefik.http.routers.homepage.tls.certresolver=myresolver"
- "traefik.http.services.homepage.loadbalancer.server.port=3000"
@@ -19,3 +20,6 @@ services:
networks:
proxy-net:
external: true
socket-net:
external: true
+2 -1
View File
@@ -7,7 +7,8 @@ services:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.mermaid.rule=Host(`mermaid.arch-services.mywire.org`)"
- "traefik.http.routers.mermaid.rule=Host(`mermaid.arch-services.mywire.org`) || Host(`mermaid.localhost`)"
- "traefik.http.routers.mermaid.entrypoints=websecure"
- "traefik.http.routers.mermaid.tls.certresolver=myresolver"
- "traefik.http.services.mermaid.loadbalancer.server.port=8080"
+3 -2
View File
@@ -17,14 +17,15 @@ services:
labels:
- "traefik.enable=true"
# Router 1: API/Automation (Token-based)
- "traefik.http.routers.ollama-api.rule=Host(`ollama.arch-services.mywire.org`) && Header(`X-Ollama-Key`, `sk-ollama-hardened-hub-2026`)"
- "traefik.http.routers.ollama-api.rule=(Host(`ollama.arch-services.mywire.org`) || Host(`ollama.localhost`)) && Header(`X-Ollama-Key`, `sk-ollama-hardened-hub-2026`)"
- "traefik.http.routers.ollama-api.entrypoints=websecure"
- "traefik.http.routers.ollama-api.tls.certresolver=myresolver"
- "traefik.http.routers.ollama-api.priority=100"
- "traefik.http.routers.ollama-api.service=ollama-svc"
# Router 2: Browser/Standard (Authelia Protected)
- "traefik.http.routers.ollama-browser.rule=Host(`ollama.arch-services.mywire.org`)"
- "traefik.http.routers.ollama-browser.rule=Host(`ollama.arch-services.mywire.org`) || Host(`ollama.localhost`)"
- "traefik.http.routers.ollama-browser.entrypoints=websecure"
- "traefik.http.routers.ollama-browser.tls.certresolver=myresolver"
- "traefik.http.routers.ollama-browser.middlewares=authelia-auth@docker"
+14 -2
View File
@@ -40,11 +40,23 @@
<h2>🧭 Navigating the Hub</h2>
<p>The <strong>Homepage</strong> dashboard is your central entry point:</p>
<ul>
<li><strong>URL:</strong> <a href="https://arch-services.mywire.org">https://arch-services.mywire.org</a></li>
<li><strong>Widgets:</strong> View container health, system resources, and service links.</li>
<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>
+2 -1
View File
@@ -9,7 +9,8 @@ services:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.authelia.rule=Host(`auth.arch-services.mywire.org`)"
- "traefik.http.routers.authelia.rule=Host(`auth.arch-services.mywire.org`) || Host(`auth.localhost`)"
- "traefik.http.routers.authelia.entrypoints=websecure"
- "traefik.http.routers.authelia.tls.certresolver=myresolver"
# This label defines the middleware that other services will use
+2 -1
View File
@@ -70,7 +70,8 @@ services:
- "traefik.http.middlewares.authelia-auth.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.authelia-auth.forwardauth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email"
# Dashboard
- "traefik.http.routers.traefik-dash.rule=Host(`traefik.arch-services.mywire.org`)"
- "traefik.http.routers.traefik-dash.rule=Host(`traefik.arch-services.mywire.org`) || Host(`traefik.localhost`)"
- "traefik.http.routers.traefik-dash.entrypoints=websecure"
- "traefik.http.routers.traefik-dash.tls.certresolver=myresolver"
- "traefik.http.routers.traefik-dash.service=api@internal"
+2 -1
View File
@@ -10,7 +10,8 @@ services:
- socket-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.logs.rule=Host(`logs.arch-services.mywire.org`)"
- "traefik.http.routers.logs.rule=Host(`logs.arch-services.mywire.org`) || Host(`logs.localhost`)"
- "traefik.http.routers.logs.entrypoints=websecure"
- "traefik.http.routers.logs.tls.certresolver=myresolver"
- "traefik.http.routers.logs.middlewares=authelia-auth@docker"
+2 -1
View File
@@ -11,7 +11,8 @@ services:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.arch-services.mywire.org`)"
- "traefik.http.routers.portainer.rule=Host(`portainer.arch-services.mywire.org`) || Host(`portainer.localhost`)"
- "traefik.http.routers.portainer.entrypoints=websecure"
- "traefik.http.routers.portainer.tls.certresolver=myresolver"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"