docs: remove credentials from deployment.md + document co-authors
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
fcbc19b8fc
commit
d894339821
2 files changed
+42
-98
No files matched your search
+17
-98
@@ -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":"[email protected]","pass":"***REMOVED***"}
|
||||
|
||||
# Windows (PowerShell)
|
||||
[Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('***REMOVED***='))
|
||||
```
|
||||
|
||||
Decoded JSON:
|
||||
|
||||
```json
|
||||
{
|
||||
"IP": "68.210.96.53",
|
||||
"user": "[email protected]",
|
||||
"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 [email protected]
|
||||
ssh convivo-vm
|
||||
```
|
||||
|
||||
Password fallback (if the key is unavailable):
|
||||
|
||||
```bash
|
||||
ssh [email protected]
|
||||
# password: ***REMOVED***
|
||||
```
|
||||
Password fallback (if the key is unavailable): `ssh [email protected]` 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 (`[email protected]`/`***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.
|
||||
Reference in new issue
Block a user