DigitalOcean
Preset: digitalocean
(switch to this preset)
Nitro supports deploying on the Digital Ocean App Platform with minimal configuration.
Set up application
Create a new Digital Ocean app following the guide.
Next, you’ll need to configure environment variables. In your app settings, ensure the following app-level environment variables are set:
NITRO_PRESET=digital-ocean
Finally, you will need to ensure you set an
engines.node
field in your app’spackage.json
to ensure Digital Ocean uses a supported version of Node.js:{
"engines": {
"node": "16.x"
}
}
You can now follow the rest of the Digital Ocean deployment guide.