Prerequisites
- Levelrail installed on the new server and the CLI signed in (
levelrail-cli auth login). - A Dokploy API key. It is sent in the
x-api-keyheader. - The Dokploy URL reachable from the Levelrail control plane. For a private address, set
APP_IMPORT_ALLOW_PRIVATE_NETWORKS=trueon the control plane and pass--allow-private. - A database user per Dokploy database, and a route from the Levelrail node to its port.
What imports automatically
What needs a manual step
- Database contents and volume contents (below).
- Git apps do not build by themselves: connect the repository and run a build.
- Health checks that are shell commands, extra ports, pre and post deploy commands.
- Dokploy scheduled jobs are not read. Recreate them as scheduled tasks.
What cannot be migrated
- Dokploy compose apps. They are listed as unsupported. Deploy the compose file with
levelrail-cli apps deploy-compose. - Apps uploaded as an archive (
drop) and file mounts. - Swarm services as such: Levelrail runs plain Docker containers, so Swarm placement and overlay networking do not carry over.
- Certificates, DNS records, deploy history, logs and metrics.
Steps
1
Dry run
Dashboard: Settings, Import from another platform. CLI:You get one row per item: ready, needs attention (with the manual step) or not supported (with the reason).
2
Import, optionally a subset
import/source-id, import/source-platform and import/source-name.For a plan with verdicts and one-click fixes (name, port, hold domains), use the wizard: levelrail-cli migrate plan --platform dokploy --url https://dokploy.example.com, then add --apply --only ID.3
Copy databases
4
Copy volumes
rsync commands as root on the node that hosts the app. Run once live, then once more at cutover.5
Check and switch
go, wait, no-go or switched per domain and prints the exact record to set. The second checks the certificate, the health path and DNS after you switch.The dashboard’s guided app wizard (stage, move images, verify, guided cutover) connects to Coolify. The CLI accepts
import apps --from dokploy, but it has been exercised mostly with Coolify. The steps above use the importer that is built for Dokploy.