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
e86e6cb327
commit
f0f88c2b15
2 files changed
+40
-96
No files matched your search
+15
-96
@@ -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":"[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
|
||||
@@ -210,12 +134,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)
|
||||
|
||||
@@ -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 (`[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
|
||||
@@ -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.
|
||||
Reference in new issue
Block a user