feat: add magic-link admin login and speaker materials portal
Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
0b6d1f2b6f
commit
68fecc2ad1
28 files changed
+1623
-232
No files matched your search
+56
-9
@@ -1,16 +1,63 @@
|
||||
# Deployment — VM Access
|
||||
|
||||
Convivo currently runs **entirely on localhost** (see
|
||||
Convivo runs locally for development and on the production VM at
|
||||
`/home/APPE/convivo`. The VM is a flat file copy, not a Git checkout. See
|
||||
[backend/supabase-core.md](./backend/supabase-core.md) and
|
||||
[backend/docker.md](./backend/docker.md)). This page documents the **remote VM** that is
|
||||
the intended deployment target for the `appe.at` subdomains
|
||||
(`convivo.appe.at`, `admin.appe.at`, `db.appe.at`).
|
||||
[backend/docker.md](./backend/docker.md) for service ownership.
|
||||
|
||||
> **Status:** the VM is reachable and the credentials below are **verified**
|
||||
> (last validated 2026-08-25). The full Convivo stack is **deployed and running**
|
||||
> on the VM (see [Running services](#running-services)). DNS, TLS, and the
|
||||
> reverse proxy for the `appe.at` subdomains are **not** set up yet — see
|
||||
> [next-steps.md](./next-steps.md#cross-cutting--later).
|
||||
## Production status (2026-10-07)
|
||||
|
||||
| Public URL | Role | Verified result |
|
||||
|---|---|---|
|
||||
| `https://convivo.appe.at` | Attendee app | DNS points to `68.210.96.53`; valid TLS; HTTP 200 |
|
||||
| `https://convivo.appe.at/speaker` | Speaker portal | HTTP 200 SPA route |
|
||||
| `https://convivo.appe.at/speaker/secret` | Speaker portal alternate entry | HTTP 200 SPA route |
|
||||
| `https://admin.appe.at` | Admin console | DNS points to the VM; valid TLS; HTTP 200 |
|
||||
| `https://admin.appe.at/auth/callback` | Admin magic-link callback | HTTP 200 SPA, not an Auth 404 |
|
||||
| `https://convivo.appe.at/auth/v1` | Public Supabase Auth | `/health` returns 200; `/verify` without a token returns expected 400 |
|
||||
| `https://db.appe.at` | Reserved database/API domain | No DNS record; not used by this deployment |
|
||||
|
||||
Nginx Proxy Manager routes the attendee and Admin domains to host ports 3000
|
||||
and 3001. Both apps proxy same-origin Supabase API paths to
|
||||
`supabase_kong_Convivo:8000` on `supabase_network_Convivo`.
|
||||
|
||||
### Deployment evidence
|
||||
|
||||
- Supabase CLI remains **2.115.0** at `~/.supabase/bin/supabase`; every core
|
||||
container image ID and the Auth JWT secret/issuer were unchanged after the
|
||||
volume-preserving stop/start. Frontends were built before the interruption.
|
||||
- Only the approved 10 frontend runtime files and three speaker migrations
|
||||
were transferred. The VM baseline predates local Reports/networking changes:
|
||||
tracked feature diffs were applied against backed-up VM source, excluding
|
||||
unchanged Reports-only patch context. Unrelated views, dependencies and
|
||||
migrations were not deployed. Manifests, lockfiles, app dotenv files and
|
||||
Compose configuration were preserved.
|
||||
- Applied and verified migration versions: `20261006175622` (empty history
|
||||
entry), `20261006175631`, and `20261007153957`. Each missing migration and its
|
||||
statement-array history entry were committed in one transaction. No reset,
|
||||
seed, fixture sync, user creation, Git commit or Git reset was performed.
|
||||
- The protected backup directory is
|
||||
`/home/APPE/convivo-backups/20261007T155959Z` (directory mode 0700; artifacts
|
||||
0600). It contains a full `postgres.dump`, a second pre-restart database dump,
|
||||
source/config backups, private runtime metadata, and validation summaries.
|
||||
Old frontend images remain tagged
|
||||
`convivo-app:rollback-20261007T155959Z` and
|
||||
`convivo-admin:rollback-20261007T155959Z`; no rollback was needed.
|
||||
- All pre-deployment records were preserved. Counts changed from 68 to 84
|
||||
contacts, 121 to 137 Auth users, and 67 to 83 registrations while the existing
|
||||
Pretix-enabled sidecar kept running. Events (1), sessions (21), and storage
|
||||
objects (1) stayed constant. Archive-to-live key comparisons found zero
|
||||
missing records; CLI startup showed no seed execution.
|
||||
- Core services and both frontends are healthy; all three nginx configuration
|
||||
checks passed; sidecar `/health` returns 200. Served build markers are
|
||||
`index-Gv3o7AW6.js` (attendee/speaker) and `index-CocPCSGt.js` (Admin).
|
||||
- Lago's existing Auth account and eligible Admin contact were verified, with
|
||||
two eligible speaker-portal sessions. One authorized Admin magic-link request
|
||||
to `[email protected]` returned HTTP 200 with `create_user = false`. Inbox receipt,
|
||||
consuming the email link, and browser screenshots were not verified.
|
||||
|
||||
SMTP, exact redirects, issuer preservation and private dotenv provisioning are
|
||||
documented in [Production Auth](./backend/supabase-core.md#production-activation-2026-10-07).
|
||||
|
||||
## VM credentials
|
||||
|
||||
|
||||
Reference in new issue
Block a user