Skip to main content

Requirements

Project Structure

Configuration

package.json

vertracloud.config

Complete Example

Always use '0.0.0.0' as host in app.listen(). The default localhost binding does not accept external connections inside the container.

Deploy

  1. Exclude node_modules from the project
  2. Compress into ZIP or connect via GitHub
  3. In the creation wizard, select Node.js as language
  4. Configure memory (256MB is enough for simple APIs)
  5. Set environment variables if needed
  6. Click “Create Application”

Available Versions

Connecting to a Database

Create the database on Vertra Cloud and use the provided credentials as environment variables.

Notes

  • For TypeScript applications, compile before deployment and point MAIN to the compiled .js file
  • Use environment variables for database configuration and secrets
  • Enable auto-restart for production APIs
  • Configure a /health endpoint for monitoring