> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pxxl.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate from Coolify

> Move Coolify apps, Dockerfiles, and databases to Pxxl, or keep your server and link it.

There's no Coolify importer. Connect the same Git repo in **Deploy** and copy your variables.

## Concepts

| Coolify | Pxxl |
| - | - |
| Application (Nixpacks) | Project, detected automatically |
| Application (Dockerfile) | Project. Pxxl builds the `Dockerfile` in the base directory. |
| Docker Compose app | One project per service, or [multiple services](https://docs.pxxl.app/deploy/monorepos.md) |
| Base directory | `[build] baseDirectory` |
| Install / build / start commands | `[build]` in `pxxl.toml` |
| Ports exposes | `[build] port` |
| Environment variables | Secrets |
| Databases | [Databases](https://docs.pxxl.app/databases/overview.md) |
| Scheduled tasks | [Cron jobs](https://docs.pxxl.app/cron-jobs.md) calling an HTTP endpoint |
| Persistent storage | [Volumes](https://docs.pxxl.app/projects/overview.md#volumes) |
| Server | [Servers](https://docs.pxxl.app/servers/overview.md) |

## Nixpacks settings to pxxl.toml

```toml pxxl.toml theme={null}
[build]
baseDirectory = "apps/api"
installCommand = "pnpm install --frozen-lockfile"
buildCommand = "pnpm build"
startCommand = "node dist/main.js"
port = 3000

[packages]
runtime = ["ffmpeg"]
```

`[packages]` replaces Nixpacks' `aptPkgs`/`nixPkgs` for system packages.

## Dockerfile apps

If the base directory has a `Dockerfile`, Pxxl builds it as-is. Make sure the app listens on `$PORT`, or set the port in the deploy form. Routing in `pxxl.toml` still applies; build keys don't.

## Copy variables

Export your variables from Coolify to a `.env` file, then:

```bash theme={null}
pxxl env push --file .env
```

## Keep your server

You don't have to give up the machine Coolify runs on. [Link it to Pxxl](https://docs.pxxl.app/servers/overview.md) to get monitoring, alerts, a browser terminal, and safe maintenance tasks in the dashboard. Deploying Pxxl projects onto your own server is coming soon.

## Checklist

* [ ] Connect the repo and check the detected build.
* [ ] Push variables.
* [ ] Move databases and volumes.
* [ ] Test the Pxxl URL, then [move your domain](https://docs.pxxl.app/migrate/overview.md#switch-dns-last).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.