Files
Convivo/docs/deployment.md
T
00716d14c6 docs: add Portainer creds (base64 JSON) + running-services table
- Portainer admin login (admin/***REMOVED***) stored base64-encoded as
  {IP,user,pass}, same format as the VM creds.
- Note on the one-time setup token (from 'docker logs portainer').
- Added a Running services table (all host-exposed ports on the VM) and
  corrected the status line: the full stack is deployed on the VM.

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]>
2026-08-25 20:15:20 +02:00

4.2 KiB
Raw Blame History

Deployment — VM Access

Convivo currently runs entirely on localhost (see backend/supabase-core.md and backend/docker.md). This page documents the remote VM that is 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 on the VM (see Running services). DNS, TLS, and the reverse proxy for the appe.at subdomains are not set up yet — see next-steps.md.

VM credentials

The access details are stored base64-encoded. The string below decodes to a JSON object with the properties IP, user, and pass.

***REMOVED***

Decode it

# 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:

{
  "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

# 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:

{
  "IP": "68.210.96.53",
  "user": "admin",
  "pass": "***REMOVED***"
}

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.

Running services

The full stack is deployed on the VM (Docker). Host-exposed ports:

Container Host port(s) What it is
convivo-app 3000 Attendee PWA
convivo-admin 3001 APPE Admin console
convivo-sidecar 3002 Sessionize sync sidecar
supabase_kong_Convivo 54321 Kong API gateway
supabase_db_Convivo 54322 Postgres 17
supabase_studio_Convivo 54323 Supabase Studio
supabase_inbucket_Convivo 54324 Mailpit (email capture)
supabase_analytics_Convivo 54327 Logflare analytics
portainer 9000, 9443 Portainer CE
nginx-proxy-manager 81, 8181–8182 Nginx Proxy Manager

Connecting

Key-based auth is set up (the developer's ~/.ssh/id_ed25519 public key is in [email protected]:~/.ssh/authorized_keys). On a machine with that key, no password is needed:

ssh [email protected]
# or, with the `convivo-vm` alias in ~/.ssh/config:
ssh convivo-vm

Password fallback (if the key is unavailable):

ssh [email protected]
# password: ***REMOVED***

Port-forward tunnel (access the stack from a laptop)

The full stack runs on the VM. To reach it from a local machine, forward the service ports over SSH (no password needed with the key above):

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 \
    -o ServerAliveInterval=30 -o ServerAliveCountMax=3 convivo-vm

Then open http://localhost:3000 (attendee), http://localhost:3001 (admin), http://localhost:54323 (Studio, postgres/postgres), and postgresql://postgres:postgres@localhost:54322/postgres. 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 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.