# Deploying Fetcha on MacLustr Gateway M1M32 + `mld`. Target node: **M3U96a** (Postgres 17 + Redis local). Ports 8220 (web, ngrok `www.fetcha.co`) and 8221 (API, loopback only). ```bash # 1. manifest (secrets live only on M1M32) scp deploy/fetcha.mld.json M1M32:~/dispatch/apps/fetcha.json # 2. stage + deploy ~/Desktop/cluster-skill/mld stage ~/Desktop/Projets/apps-web/fetcha fetcha ~/Desktop/cluster-skill/mld deploy fetcha --node M3U96a # 3. verify curl -s https://www.fetcha.co/api/ready ``` Post-sync hooks run `pnpm install`, `db:migrate`, `db:seed` (with `ADMIN_EMAILS` → admins + allowlist), `patchright install chromium` (managed browser binary, ~170 MB once) and `next build`. PM2 processes: `fetcha-api` (also runs the crawl worker and the browser pool), `fetcha-web`. Remote source of truth after first deploy: `M3U96a:~/apps/fetcha` (git remote `gitsrv:fetcha.git`).