DigitalOcean

Discover DigitalOcean preset for Nitro!


Preset: digital-ocean (switch to this preset)

Nitro supports deploying on the Digital Ocean App Platform with minimal configuration.

Set up application

  1. Create a new Digital Ocean app following the guide.
  2. 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

    More information.
  3. Finally, you will need to ensure you set an engines.node field in your app's package.json to ensure Digital Ocean uses a supported version of Node.js:
    {   "engines": {      "node": "16.x"   }}

    See more information.

You can now follow the rest of the Digital Ocean deployment guide.