Docs
From your repository to a running container.
When you create an app from a repository, CloudPloy reads a few files on the branch you picked and sets the app type, the builder and the port.
artisan and laravel/framework in composer.json. Symfony: bin/console and the Symfony framework package. Other PHP: composer.json or index.php.config/application.rb and the rails gem. Node: package.json (Next.js, Nuxt and Astro by their packages). Python: requirements.txt, pyproject.toml or Pipfile. Go, Rust, Java, .NET, Elixir, Deno, Bun and static sites by their project files; the table below lists every stack.Every stack deploys from a plain repository, with no Dockerfile and no settings. CloudPloy creates the database the stack needs on the same server and links it, and runs its migrations before each release.
| Stack (type) | Language | Builder | Port | Database | Set up for you |
|---|---|---|---|---|---|
Laravel laravel | PHP | CloudPloy PHP recipe | 80 | Postgres, offered and linked | Before each release: php artisan migrate --force |
Symfony symfony | PHP | CloudPloy PHP recipe | 80 | Postgres, offered and linked | Variables: APP_SECRET. Before each release: database migrations |
Rails rails | Ruby | Railpack | 3000 | Postgres, offered and linked | Variables: RACK_ENV, RAILS_ENV, RAILS_LOG_TO_STDOUT, SECRET_KEY_BASE. Before each release: bundle exec rails db:prepare |
Next.js nextjs | JavaScript | Railpack | 3000 | None | Nothing extra |
Nuxt nuxtjs | JavaScript | Railpack | 3000 | None | Nothing extra |
Astro astro | JavaScript | Railpack | 4321 | None | Nothing extra |
Deno deno | TypeScript | Railpack | 8000 | None | Nothing extra |
Bun bun | TypeScript | Railpack | 3000 | None | Nothing extra |
Node.js nodejs | JavaScript | Railpack | 3000 | None | Express, Fastify, Koa, NestJS and other servers: npm start must listen on PORT. |
PHP php | PHP | CloudPloy PHP recipe | 80 | None | The web root is public/ when the repository has public/index.php, else the repository root. |
Django django | Python | Railpack | 8000 | Postgres, offered and linked | Variables: DJANGO_SECRET_KEY, SECRET_KEY. Migrations run when the app starts. Your settings must read SECRET_KEY and DATABASE_URL and allow the app's host in ALLOWED_HOSTS. |
FastAPI fastapi | Python | Railpack | 8000 | None | Nothing extra |
Flask flask | Python | Railpack | 8000 | None | Nothing extra |
Python python | Python | Railpack | 8000 | None | Nothing extra |
Go go | Go | Railpack | 8080 | None | Nothing extra |
Rust rust | Rust | Railpack | 8080 | None | Nothing extra |
Ruby ruby | Ruby | Railpack | 8080 | None | Variables: APP_ENV, RACK_ENV. Sinatra, Roda, Hanami and other Rack apps start from config.ru. |
Spring Boot spring | Java | Railpack | 8080 | None | Nothing extra |
Java java | Java | Railpack | 8080 | None | Nothing extra |
ASP.NET Core dotnet | C# | Railpack | 8080 | None | Detected by Program.cs or global.json at the repository root. |
Phoenix phoenix | Elixir | Railpack | 4000 | Postgres, offered and linked | Variables: PHX_SERVER, SECRET_KEY_BASE. Before each release: database migrations |
Elixir elixir | Elixir | Railpack | 4000 | None | Nothing extra |
Static site static | HTML | Railpack | 8080 | None | Nothing extra |
Custom custom | Any | Railpack | 8080 | None | Anything else: the repository's Dockerfile, or what Railpack finds. |
For an app created from a repository, the first of these that fits builds it.
Dockerfile at the root of the repository, or of its root directory (see Build settings), is built with it. This includes PHP apps. PHP apps created before 30 November 2026 keep CloudPloy’s PHP recipe.For when detection guesses wrong. Set them under Build settings (optional) when you create the app, or on the app's Overview under Build settings. Empty fields keep the detected behaviour; saved settings apply on the next deploy. In the API they are the settings object of POST /v1/apps and PUT /v1/apps/{uuid}/settings.
apps/web. Every builder reads it.sh -c instead of the image's entrypoint and command, for every builder./healthz: a new version gets traffic only once this path answers 2xx or 3xx; otherwise the deploy fails and the previous version keeps running. The image needs curl, bash or nc./data: a folder kept across deploys, for uploads and similar files. Deleting the app deletes it.@hourly, @daily, @weekly, @monthly, then the command. Each run is a one-off container of the app's image with its variables and volume, skipped while the app is stopped.Open the app's Deployments tab and click a deployment. The build log names the builder, for example Builder: the repository's Dockerfile. or Builder: CloudPloy's PHP recipe.
PORT variable. Make your app listen on PORT.