SPB Git

spb/fetcha

Public
720 B

# 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 and next build. PM2 processes: fetcha-api, fetcha-web. Remote source of truth after first deploy: M3U96a:~/apps/fetcha (git remote gitsrv:fetcha.git).

Files · 6b215c2d5f54167737c2d57307f22c84bc934434
Menu

Theme