Skip to content

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

  1. Fork or clone getcoherence/openpartner to your GitHub.
  2. In DO App Platform, Create App → GitHub and point it at your repo.
  3. Select the .do/app.yaml spec when prompted.
  4. Set required env vars (encrypted):
    • SECRETS_ENCRYPTION_KEY — 32-byte hex
    • MAIL_FROM (optional — overridable from admin UI)
    • POSTMARK_SERVER_TOKEN or SMTP creds (optional — overridable from admin UI)
  5. 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.