DigitalOcean
Deploy RouteCraft to DigitalOcean App Platform.
App Platform
- Repository
- Push your app to GitHub/GitLab, including
craft.config.tsand aDockerfile(or use the Node buildpack).
- 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
- Environment
- Set
NODE_ENV=productionand any adapter secrets (e.g., API keys).
- 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.