Discover DigitalOcean preset for Nitro!
Preset: digital-ocean
(switch to this preset)
Nitro supports deploying on the Digital Ocean App Platform with minimal configuration.
NITRO_PRESET=digital-ocean
engines.node
field in your app's package.json
to ensure Digital Ocean uses a supported version of Node.js:{ "engines": { "node": "16.x" }}
package.json
:{ "scripts": { "start": "node .output/server/index.mjs" }}
Components > Settings > Commands
, click "Edit", then add npm run start
Your app should be live at a Digital Ocean generated URL and you can now follow the rest of the Digital Ocean deployment guide.