diff --git a/README.md b/README.md index 0f31c02..938d827 100644 --- a/README.md +++ b/README.md @@ -304,3 +304,28 @@ Full detail in [`roadmap.md`](./roadmap.md). 1. **Schedule times** — the 6 slot times above are an assumption; confirm against the real agenda. 2. **Connection acceptance** — in-app only for v1? (Push notifications would be a later add-on.) + +## 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 +``` diff --git a/docs/deployment.md b/docs/deployment.md index 31520c7..7163469 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -6,108 +6,32 @@ Convivo currently runs **entirely on localhost** (see the intended deployment target for the `appe.at` subdomains (`convivo.appe.at`, `admin.appe.at`, `db.appe.at`). -> **Status:** the VM is reachable and the credentials below are **verified** -> (last validated 2026-08-25). The full Convivo stack is **deployed and running** +> **Status:** the VM is reachable (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). -## 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 @@ -143,12 +67,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) @@ -174,8 +94,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 @@ -183,7 +103,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.