A general guide to configure your application with Coolify.
npm ci
or yarn install
or pnpm install
accordingly.3000
.
If you have a PHP-FPM application that listens on port 9000, you can set it like this: 9000
.
If you have a Nginx server that listens on port 80, you can set it like this: 80
.
Rolling Updates
.8080:80
.
This will map the port 8080 on the host system to the port 80 inside the container.
This feature is only available for Nixpacks buildpacks.If you need to serve a static site (SPA, HTML, etc), you can set this to
true
. It will be served by Nginx. Disabled by default
.
true
. Enabled by default
.
This feature is only available for GitHub App based repositories.If you would like to deploy automatically when a new commit is pushed to the repository, you can set this to
true
. Enabled by default
.
{{pr_id}}.{{domain}}
.
This means that if you open a Pull Request with the ID 123
, and you resource domain is example.com
the preview URL will be 123.example.com
.
{{ domain }}
part.This feature is only available for GitHub App based repositories.If you would like to deploy a preview version of your application (based on a Pull Requests), you can set this to
true
. Disabled by default
.
If set to true
, all PR’s that are opened against the resource’s configured branch, will be deployed to a unique URL.
Deploy
button on the Pull Request page.
true
. Enabled by default
.
true
. Enabled by default
.
unhealthy
. If you do not know how to set up health checks, turn it off.nixpacks.toml
file to your repository or setting the right environment variables.
For example, if you are using a NodeJS application, you can set the NIXPACKS_NODE_VERSION
to control the NodeJS version.
/Dockerfile
.
docker-compose.yml
file and deploy them together.