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
This commit is contained in:
kiskaadee committed 2026-11-22 12:00:37 -05:00
1 parent 4b5936f617
commit f2616f890f
2 files changed
+4 -5

No files matched your search

+3 -4
View File
@@ -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)<br/>Credentials in tab memory"] -->|HTTPS| Proxy["Reverse Proxy (Traefik)"]
Proxy -->|X-Forwarded-*| Flask["Flask App (ProxyFix + Limiter)<br/>MAX_CONTENT_LENGTH: 64 KiB"]
Browser["Browser (3-Screen SPA)<br/>Credentials in tab memory"] -->|HTTP / HTTPS| Flask["Flask + Gunicorn (ProxyFix + Limiter)<br/>MAX_CONTENT_LENGTH: 64 KiB"]
Flask --> DB[("SQLite WAL<br/>/app/data/appointments.db")]
Flask -->|HTTPS Bearer / Basic| Zoom["Zoom REST & OAuth API"]
```
@@ -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.