From f2616f890f5179019a45b4da753a647771f86f45 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sun, 22 Nov 2026 12:00:37 -0500 Subject: [PATCH] docs: decouple architecture and ADR from Traefik/homelab deployment assumptions - Remove Traefik reverse-proxy node and stale branch reference from ARCHITECTURE.md so the topology describes only what the repo contains (Flask + Gunicorn + SQLite + Zoom API) - Remove Authelia and homelab server references from docs/adr/0001-transient-credentials-and-gated-host-url.md --- ARCHITECTURE.md | 7 +++---- docs/adr/0001-transient-credentials-and-gated-host-url.md | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 59fd5a8..aaf42f3 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -1,15 +1,14 @@ # Architecture — `zoom-sched-poc` -Canonical present-state architecture for the **zoom-sched-poc** proof-of-concept (`feat/zoom-sched-poc`). +Canonical present-state architecture for the **zoom-sched-poc** proof-of-concept. ## System Topology -Single-container Flask + Gunicorn (`--workers 1 --threads 4`) application serving both the static 3-screen presentation UI and the JSON REST API behind a reverse proxy (Traefik). +Single-container Flask + Gunicorn (`--workers 1 --threads 4`) application serving both the static 3-screen presentation UI and the JSON REST API, with `ProxyFix` enabled for standard `X-Forwarded-*` headers when run behind an optional reverse proxy. ```mermaid flowchart LR - Browser["Browser (3-Screen SPA)
Credentials in tab memory"] -->|HTTPS| Proxy["Reverse Proxy (Traefik)"] - Proxy -->|X-Forwarded-*| Flask["Flask App (ProxyFix + Limiter)
MAX_CONTENT_LENGTH: 64 KiB"] + Browser["Browser (3-Screen SPA)
Credentials in tab memory"] -->|HTTP / HTTPS| Flask["Flask + Gunicorn (ProxyFix + Limiter)
MAX_CONTENT_LENGTH: 64 KiB"] Flask --> DB[("SQLite WAL
/app/data/appointments.db")] Flask -->|HTTPS Bearer / Basic| Zoom["Zoom REST & OAuth API"] ``` diff --git a/docs/adr/0001-transient-credentials-and-gated-host-url.md b/docs/adr/0001-transient-credentials-and-gated-host-url.md index d0f3726..cca1eaa 100644 --- a/docs/adr/0001-transient-credentials-and-gated-host-url.md +++ b/docs/adr/0001-transient-credentials-and-gated-host-url.md @@ -2,7 +2,7 @@ - **Status:** Accepted - **Date:** 2026-11-21 -- **Context:** `zoom-sched-poc` is a public-facing proof-of-concept demo allowing Azu to test end-to-end Zoom scheduling with her own Server-to-Server OAuth app without deploying an authentication gateway (Authelia) or persisting third-party secrets on the homelab server. +- **Context:** `zoom-sched-poc` is a standalone proof-of-concept demo allowing a host to test end-to-end Zoom scheduling with a Server-to-Server OAuth app without deploying an authentication layer or persisting third-party secrets on the server. ## Decision 1. **Transient browser-memory credentials:** Zoom `account_id`, `client_id`, and `client_secret` are entered in Screen 1, held solely in browser tab memory, and transmitted per request over HTTPS (`SecretStr` in Pydantic). They are never stored in SQLite, session cookies, or server environment files.