DigitalOcean

Deploy RouteCraft to DigitalOcean App Platform.

App Platform

  1. Repository
  • Push your app to GitHub/GitLab, including craft.config.ts and a Dockerfile (or use the Node buildpack).
  1. App creation
  • Create App → connect repo → pick root directory.
  • If using Dockerfile, App Platform will auto-detect. Otherwise set:
    • Runtime: Node 20
    • Build command: pnpm build
    • Run command: pnpm start
  1. Environment
  • Set NODE_ENV=production and any adapter secrets (e.g., API keys).
  1. Scaling
  • Choose a worker service for background processing. Use a web service only if you expose HTTP.

Tips

  • Prefer worker services for long‑running routes.