diff --git a/README.md b/README.md index dc950f9..d9209a4 100644 --- a/README.md +++ b/README.md @@ -304,6 +304,31 @@ Full detail in [`roadmap.md`](./roadmap.md). - Push notifications (connection requests are seen when the app is opened) - Multi-day events + +## 16. Authors & co-authors + +Convivo is developed by **Jose Lago** together with the following co-authors. +Every commit in the repository history carries a `Co-authored-by` trailer for each +of them (added retroactively to all existing commits), and new commits should +include the same trailers. + +| Co-author | Email | +|---|---| +| Stephan Charles | stephan@appe.at | +| Amelia Hernandez | amelia@appe.at | +| Markus Franz | markus@appe.at | +| Sabrina Hota | sabrina@appe.at | +| Nilüfer Doğan | nilufer@appe.at | + +Trailers to append to every commit message (after a blank line): + +``` +Co-authored-by: Stephan Charles +Co-authored-by: Amelia Hernandez +Co-authored-by: Markus Franz +Co-authored-by: Sabrina Hota +Co-authored-by: Nilüfer Doğan +``` - Session capacity enforcement - i18n / offline mode diff --git a/docs/deployment.md b/docs/deployment.md index 2bd2a8e..05d5cf6 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -79,102 +79,26 @@ and 3001. Both apps proxy same-origin Supabase API paths to 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 +## Credentials -The access details are stored **base64-encoded**. The string below decodes to a -JSON object with the properties `IP`, `user`, and `pass`. +Credentials (VM SSH password, Portainer admin, NPM admin) are **not stored in +this repository**. They are kept in a secure store outside the repo — ask the +project maintainer for access. VM host: `68.210.96.53`, SSH user `APPE`. -``` -***REMOVED*** -``` +## Portainer -### Decode it - -```bash -# Linux / macOS -echo '***REMOVED***' | base64 -d -# -> {"IP":"68.210.96.53","user":"APPE","pass":"***REMOVED***"} - -# Windows (PowerShell) -[Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('***REMOVED***')) -``` - -Decoded JSON: - -```json -{ - "IP": "68.210.96.53", - "user": "APPE", - "pass": "***REMOVED***" -} -``` - -## Portainer credentials - -Portainer CE runs on the VM (`:9000` web, `:9443` HTTPS). Its admin login is -stored in the same **base64-encoded JSON** format as the VM credentials above. - -``` -***REMOVED*** -``` - -### Decode it - -```bash -# Linux / macOS -echo '***REMOVED***' | base64 -d -# -> {"IP":"68.210.96.53","user":"admin","pass":"***REMOVED***"} - -# Windows (PowerShell) -[Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('***REMOVED***')) -``` - -Decoded JSON: - -```json -{ - "IP": "68.210.96.53", - "user": "admin", - "pass": "***REMOVED***" -} -``` +Portainer CE runs on the VM (`:9000` web, `:9443` HTTPS). > **Setup token:** a fresh Portainer install (after clearing the `portainer_data` > volume) requires a one-time **setup token** to create the admin account. It is > printed in the container logs: `docker logs portainer | grep setup_token`. > The token rotates on every (re)start, so read it from the logs at setup time. -## Nginx Proxy Manager (NPM) credentials +## Nginx Proxy Manager (NPM) NPM runs on the VM. In this instance the **admin UI is served on port 81** (not the default 8181 — the container's `production.conf` puts the admin -interface on 81, and 8181/8182 are unbound). Its admin login is stored in the -same **base64-encoded JSON** format as the credentials above. - -``` -***REMOVED***= -``` - -### Decode it - -```bash -# Linux / macOS -echo '***REMOVED***=' | base64 -d -# -> {"IP":"68.210.96.53","user":"lago@appe.at","pass":"***REMOVED***"} - -# Windows (PowerShell) -[Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('***REMOVED***=')) -``` - -Decoded JSON: - -```json -{ - "IP": "68.210.96.53", - "user": "lago@appe.at", - "pass": "***REMOVED***" -} -``` +interface on 81, and 8181/8182 are unbound). > **Fresh install:** NPM's data (admin login + proxy hosts) lives in the > `npm_data` volume (mounted at `/data`). To reset it, stop the container, wipe @@ -210,12 +134,8 @@ ssh APPE@68.210.96.53 ssh convivo-vm ``` -Password fallback (if the key is unavailable): - -```bash -ssh APPE@68.210.96.53 -# password: ***REMOVED*** -``` +Password fallback (if the key is unavailable): `ssh APPE@68.210.96.53` and use +the password from the secure store (see [Credentials](#credentials)). ### Port-forward tunnel (access the stack from a laptop) @@ -241,8 +161,8 @@ ssh -N -L 3000:127.0.0.1:3000 -L 3001:127.0.0.1:3001 -L 3002:127.0.0.1:3002 \ | http://localhost:54323 | Supabase Studio (`postgres`/`postgres`) | | http://localhost:54324 | Mailpit | | http://localhost:54327 | Logflare | -| http://localhost:9000 | Portainer CE (`admin`/`***REMOVED***`) | -| http://localhost:8081 | NPM admin UI (`lago@appe.at`/`***REMOVED***`) | +| http://localhost:9000 | Portainer CE (login from the secure store) | +| http://localhost:8081 | NPM admin UI (login from the secure store) | > NPM's admin UI is on the VM's port **81**, forwarded to local **8081** (81 is > a privileged port and can't be bound locally without root). The apps proxy @@ -250,7 +170,6 @@ ssh -N -L 3000:127.0.0.1:3000 -L 3001:127.0.0.1:3001 -L 3002:127.0.0.1:3002 \ > ports are needed for the UI; `54321`/`54322`/`54323` are for direct > API/DB/Studio access. -> **Security note:** the password above is a live credential committed to the -> repository for convenience. Key-based auth is the preferred path; rotate the -> password if the repo is ever exposed, and treat the repo as readable by anyone -> with access. +> **Security note:** never commit credentials to this repository. Key-based SSH +> auth is the preferred path. Credentials that were previously committed have +> been purged from the git history and should be rotated.