# Deployment — VM Access Convivo currently runs **entirely on localhost** (see [backend/supabase-core.md](./backend/supabase-core.md) and [backend/docker.md](./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). DNS, TLS, and the reverse proxy in front of the > Supabase core are **not** set up yet — see > [next-steps.md](./next-steps.md#cross-cutting--later). ## VM credentials The access details are stored **base64-encoded**. The string below decodes to a JSON object with the properties `IP`, `user`, and `pass`. ``` eyJJUCI6IjY4LjIxMC45Ni41MyIsInVzZXIiOiJBUFBFIiwicGFzcyI6InFeWEMybUZxYnMydDJlVFkifQ== ``` ### Decode it ```bash # Linux / macOS echo 'eyJJUCI6IjY4LjIxMC45Ni41MyIsInVzZXIiOiJBUFBFIiwicGFzcyI6InFeWEMybUZxYnMydDJlVFkifQ==' | base64 -d # -> {"IP":"68.210.96.53","user":"APPE","pass":"q^XC2mFqbs2t2eTY"} # Windows (PowerShell) [Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('eyJJUCI6IjY4LjIxMC45Ni41MyIsInVzZXIiOiJBUFBFIiwicGFzcyI6InFeWEMybUZxYnMydDJlVFkifQ==')) ``` Decoded JSON: ```json { "IP": "68.210.96.53", "user": "APPE", "pass": "q^XC2mFqbs2t2eTY" } ``` ## Connecting **Key-based auth is set up** (the developer's `~/.ssh/id_ed25519` public key is in `APPE@68.210.96.53:~/.ssh/authorized_keys`). On a machine with that key, no password is needed: ```bash ssh APPE@68.210.96.53 # or, with the `convivo-vm` alias in ~/.ssh/config: ssh convivo-vm ``` Password fallback (if the key is unavailable): ```bash ssh APPE@68.210.96.53 # password: q^XC2mFqbs2t2eTY ``` ### 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): ```bash 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.