Documentation Frameworks and migration

Guides by stack

Every language, framework and kind of app with its guide and an example repository to start from.

~3 min read
On this page

Find the guide for the language, framework or kind of app you are deploying. Each guide shows what to change in your project and the commands to deploy it. Where a guide has an example repository, you can clone it and deploy it as it is, or start from it as a template.

Every app on Gregale follows the same few rules: listen on 0.0.0.0 and the port in PORT, keep state in a database or object storage, and answer a health path such as /healthz. Deploy a web framework covers them once for every stack.

By language and framework

JavaScript and TypeScript

Python

Other languages

Gregale builds Node, Python and Go from source with no Dockerfile. Every other language deploys from a Dockerfile in the project root, and each guide above includes one that works.

By kind of app

Moving from another platform

Your stack is not listed

If it runs on Linux and serves HTTP, it runs on Gregale. Write a Dockerfile that starts the server on 0.0.0.0:$PORT, then check it before anything is uploaded:

bash
gregale deploy --dry-run

See Container compatibility for what an image needs, and Troubleshoot deploys if the first deploy fails.

Spotted a problem on this page? Tell us