docs: add NPM creds (base64 JSON) + full tunnel command

- Nginx Proxy Manager admin login ([email protected] / ***REMOVED***) stored
  base64-encoded as {IP,user,pass}, same format as the other creds.
- Noted NPM's admin UI is on port 81 in this instance (8181/8182 unbound)
  and how to reset it (wipe npm_data volume).
- Updated the tunnel command to the full port set (incl. Portainer 9000/9443
  and NPM via 8081->81) with a local-URL table.

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:
committed 2026-08-25 20:43:04 +02:00
1 parent 00716d14c6
commit 81631aa585
1 file changed
+59 -6
+59 -6
View File
@@ -77,6 +77,43 @@ Decoded JSON:
> printed in the container logs: `docker logs portainer | grep setup_token`. > 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. > The token rotates on every (re)start, so read it from the logs at setup time.
## Nginx Proxy Manager (NPM) credentials
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***"
}
```
> **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
> the volume contents, and restart — the API then reports `"setup": false` and
> the admin UI shows the "Create admin account" screen.
## Running services ## Running services
The full stack is deployed on the VM (Docker). Host-exposed ports: The full stack is deployed on the VM (Docker). Host-exposed ports:
@@ -92,7 +129,7 @@ The full stack is deployed on the VM (Docker). Host-exposed ports:
| `supabase_inbucket_Convivo` | 54324 | Mailpit (email capture) | | `supabase_inbucket_Convivo` | 54324 | Mailpit (email capture) |
| `supabase_analytics_Convivo` | 54327 | Logflare analytics | | `supabase_analytics_Convivo` | 54327 | Logflare analytics |
| `portainer` | 9000, 9443 | Portainer CE | | `portainer` | 9000, 9443 | Portainer CE |
| `nginx-proxy-manager` | 81, 8181–8182 | Nginx Proxy Manager | | `nginx-proxy-manager` | 81 (admin UI + proxied sites), 8181–8182 (published but unbound) | Nginx Proxy Manager |
## Connecting ## Connecting
@@ -121,14 +158,30 @@ service ports over SSH (no password needed with the key above):
```bash ```bash
ssh -N -L 3000:127.0.0.1:3000 -L 3001:127.0.0.1:3001 -L 3002:127.0.0.1:3002 \ ssh -N -L 3000:127.0.0.1:3000 -L 3001:127.0.0.1:3001 -L 3002:127.0.0.1:3002 \
-L 54321:127.0.0.1:54321 -L 54322:127.0.0.1:54322 -L 54323:127.0.0.1:54323 \ -L 54321:127.0.0.1:54321 -L 54322:127.0.0.1:54322 -L 54323:127.0.0.1:54323 \
-L 54324:127.0.0.1:54324 -L 54327:127.0.0.1:54327 \
-L 9000:127.0.0.1:9000 -L 9443:127.0.0.1:9443 \
-L 8081:127.0.0.1:81 \
-o ServerAliveInterval=30 -o ServerAliveCountMax=3 convivo-vm -o ServerAliveInterval=30 -o ServerAliveCountMax=3 convivo-vm
``` ```
Then open `http://localhost:3000` (attendee), `http://localhost:3001` (admin), | Local URL | Service |
`http://localhost:54323` (Studio, `postgres`/`postgres`), and |---|---|
`postgresql://postgres:postgres@localhost:54322/postgres`. The apps proxy their | http://localhost:3000 | Convivo attendee app |
Supabase calls to Kong over the shared Docker network, so only the app ports are | http://localhost:3001 | APPE Admin |
needed for the UI; `54321`/`54322`/`54323` are for direct API/DB/Studio access. | http://localhost:3002/health | Sync sidecar |
| http://localhost:54321 | Kong API |
| `postgresql://postgres:postgres@localhost:54322/postgres` | Postgres |
| 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***`) |
> 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
> their Supabase calls to Kong over the shared Docker network, so only the app
> 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 > **Security note:** the password above is a live credential committed to the
> repository for convenience. Key-based auth is the preferred path; rotate the > repository for convenience. Key-based auth is the preferred path; rotate the