[main]: document authentik

This commit is contained in:
John Gatward committed 2026-10-16 13:05:11 +01:00
1 parent 4f85b781ea
commit 97f6dc28ae
8 files changed
+382 -76

No files matched your search

+71 -5
View File
@@ -2,9 +2,9 @@
schema_version: 1
id: home-server.networking
type: reference
scope: [jupiter, mercury, dns, ingress, wireguard, cloudflare]
scope: [jupiter, mercury, seedbox, dns, ingress, wireguard, cloudflare, sftp]
sensitivity: private-infrastructure
last_reviewed: "2026-10-06"
last_reviewed: "2026-10-16"
sources:
- kind: owner-report
reference: "Network topology, Mercury nginx/iptables/fail2ban output, LAN DNS, 2026-10-06"
@@ -12,6 +12,10 @@ sources:
reference: "Cloudflare ingress YAML and client SSH configurations, 2026-10-06"
- kind: owner-report
reference: "CGNAT rationale, Docker network and container inspection, 2026-10-06"
- kind: owner-report
reference: "Ultra.cc hostname, qBittorrent UI, SFTP rclone remote/systemd unit and Radarr/Sonarr bind mounts, 2026-10-06"
- kind: owner-report
reference: "Authentik fully deployed with all listed app integrations and Authelia retired, 2026-10-16"
- kind: repository
repository: jupiter-stacks
revision: 610e325ef6a98850511ce7a089b0b9a77bfecf15
@@ -21,19 +25,26 @@ sources:
- stacks/gitea/docker-compose.yml
- stacks/jellyfin/docker-compose.yml
- stacks/audiobookshelf/docker-compose.yml
- kind: repository
repository: jupiter-stacks
revision: d09df456ad331b8beb9a40615114ea8aae2dced5
paths:
- stacks/authentik/docker-compose.yml
- stacks/authentik/blueprints/jupiter.yaml
related: [home-server.reference, home-server.host, home-server.mercury, home-server.seedbox, home-server.authentication, home-server.operations]
update_triggers: [dns-change, proxy-change, tunnel-change, firewall-change, certificate-change]
update_triggers: [dns-change, proxy-change, tunnel-change, firewall-change, certificate-change, seedbox-change]
unknowns:
- public-dns-record-types-and-cloudflare-proxy-status
- cloudflare-access-applications-and-login-policies
- wireguard-allowedips-and-keepalive
- jupiter-firewall-policy
- traefik-forwarded-header-trust-configuration
- seedbox-sftp-port-and-download-client-api-endpoint
---
# Networking
## HTTPS ingress
## HTTPS ingress / seedbox connectivity
```mermaid
---
@@ -66,16 +77,28 @@ flowchart TB
LAN["<b>LAN clients</b><br/>Jellyfin / Bookshelf local DNS"]
Traefik["<b>Traefik</b><br/>192.168.1.56<br/>WireGuard 10.0.0.2"]
Apps["<b>Application containers</b><br/>Docker network: traefik"]
Arr["<b>Radarr / Sonarr</b><br/>Download control / media imports"]
Rclone["<b>Host rclone / FUSE</b><br/>/mnt/seedbox"]
LAN -->|"HTTPS :443"| Traefik
Traefik -->|"Application routing"| Apps
Traefik -->|"Media management UIs"| Arr
Arr -->|"/downloads bind / host /mnt/seedbox"| Rclone
end
subgraph Seed["ULTRA.CC / SEEDBOX"]
Qbit["<b>qBittorrent</b><br/>jayo60013.terra.usbx.me"]
Downloads["<b>Remote download storage</b><br/>terra.usbx.me<br/>downloads/qbittorrent"]
Qbit -->|"Writes downloads"| Downloads
end
Internet -->|"HTTPS :443"| Nginx
Nginx -->|"HTTPS :443 over WireGuard"| Traefik
Arr -->|"qBittorrent API / endpoint unconfirmed"| Qbit
Rclone -->|"Outbound SFTP / remote file access"| Downloads
class Internet,LAN infraClient
class Nginx,Traefik infraEdge
class Apps,Uptime infraService
class Apps,Uptime,Arr,Rclone,Qbit,Downloads infraService
```
## Cloudflare Tunnel
@@ -162,6 +185,28 @@ Ingress source: host `/data/cloudflared/config.yaml`, mounted at
| `bookshelf.local.umbra.mom` | Jupiter `192.168.1.56` |
| `ssh.umbra.mom`, `git.umbra.mom` | Cloudflare Tunnel |
| `uptime.umbra.mom` | Mercury nginx -> `http://127.0.0.1:3001` |
| `terra.usbx.me` | Ultra.cc seedbox; rclone SFTP remote |
| `jayo60013.terra.usbx.me` | Provider-hosted qBittorrent UI under `/qbittorrent/` |
## Seedbox connection
The [Ultra.cc seedbox](seedbox.md) runs qBittorrent on `terra.usbx.me`, separate
from Jupiter and Mercury. Its provider-hosted UI is
<https://jayo60013.terra.usbx.me/qbittorrent/>.
Jupiter's host-level `rclone-seedbox.service` initiates an outbound SFTP
connection to `terra.usbx.me`, user `jayo60013`, using
`/home/jay/.ssh/id_ed25519`. Remote `seedbox:downloads/qbittorrent` is exposed
through FUSE at `/mnt/seedbox`, then bind-mounted at `/downloads` in Radarr
and Sonarr. File reads use this mount; download control/removal uses qBittorrent's
API, not deletion through rclone. The exact configured download-client API
endpoint and SFTP port were not supplied; do not infer them from the UI URL.
This is not a WebDAV mount, scheduled sync, or Mercury/WireGuard/Cloudflare
Tunnel ingress route. No home-router port forwarding is required for Jupiter's
outbound SFTP connection. Remote availability and the host mount are dependencies
for media imports; startup ordering relative to Docker remains unconfirmed.
See [Storage](storage.md) for remote versus local media placement.
## Mercury
@@ -201,3 +246,24 @@ whether they are obsolete or safe to remove.
- HTTPS fallback: priority `1`; unmatched non-apex hosts redirect to `https://umbra.mom`.
- `cloudflared`: `/data/cloudflared` -> `/etc/cloudflared`;
stack-local bridge `cloudflare`; no published ports.
## Authentication routing
[Authentik](authentication.md) serves `auth.umbra.mom` through Traefik to
`authentik-server:9000`; the server joins the external `traefik` network.
The ingress diagrams show transport, not a universal authentication gate.
Seven applications use native OIDC; Backrest, Notes, Prowlarr, Radarr and Sonarr
use Traefik middleware `authentik@docker` and the embedded outpost.
Dozzle (`logs.umbra.mom`) now uses OIDC, not forward-auth.
On the five proxy-protected hostnames, a priority-1000
`/outpost.goauthentik.io/` route goes straight to Authentik without forward-auth
to handle callbacks. Other application requests use their normal routers.
The middleware trusts forwarded headers; this is not evidence that the wider
Mercury/Traefik forwarded-header trust chain is configured.
Authentik also publishes `127.0.0.1:9000` for private host access.
Repository-defined networks (not part of the older observed-network snapshot):
`authentik-data` is internal and connects PostgreSQL, server and worker;
the worker also joins `authentik-egress`. The server's additional `traefik`
attachment means the internal data network is not complete egress isolation.