Deploy to DO App Platform
The repo includes a .do/app.yaml that provisions OpenPartner as a multi-service app with a
managed Postgres database.
What gets deployed
- api — Express HTTP service (port 8787)
- router — Hono click redirect service (port 8788)
- portal — Vite-built static site, served from CDN
- db — Managed Postgres (1GB minimum)
Steps
- Fork or clone
getcoherence/openpartnerto your GitHub. - In DO App Platform, Create App → GitHub and point it at your repo.
- Select the
.do/app.yamlspec when prompted. - Set required env vars (encrypted):
SECRETS_ENCRYPTION_KEY— 32-byte hexMAIL_FROM(optional — overridable from admin UI)POSTMARK_SERVER_TOKENor SMTP creds (optional — overridable from admin UI)
- Click Create Resources.
Once the build completes, visit your app URL. The install wizard runs on first load.
Custom domain
Add your apex domain in DO App Platform → Settings → Domains. DO handles cert provisioning.
For the click router, point a subdomain like r.yourdomain.com to the router service for short
links.
Updating
Push to your main branch — DO redeploys automatically.