An option for running Docker apps without the dashboard and Swarm.
What it does well
A UI for Compose, databases, and servers.
Registry-based rollback and volume backup features.
Same goal, two paths
See how to do each task with both tools. The examples assume the setup described in each case; adapt names, credentials and infrastructure.
01 / USE CASE
Ship a new version
The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up.
With Dokploy
In the application, check the Git source and build already configured under General. Push the approved commit to the selected branch.
Trigger Deploy, follow Deployments and Logs and validate the domain. If the webhook is configured, follow the run it triggered.
Publish the new version to the configured source. In the Git + Dockerfile path, the Runner fetches the code and builds on the server, without pushing the app image to a registry.
With polling configured, the pipeline runs automatically. To trigger it now, run the commands below on the server and check the status and history.
Examplebash · example
runner preflight shop
runner deploy shop
runner status shop
runner logs history shop
The Runner works on one server at a time. Host-published ports and shared writable volumes may require a downtime window.
02 / USE CASE
Roll back a version
The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up. Application with registry-based rollback configured before the versions were published.
With Dokploy
Before releasing, enable Rollback in Deployments > Rollback Settings and select a registry with credentials. The desired version must have been published with this option on, and its image must still be available.
In Deployments, find the previous version, click Rollback and confirm. Wait for the image to download and check Logs and the domain.
List the retained versions and confirm the previous one still has its code and image available.
Roll back to the previous version and check the application. To pick a different retained version, use --version with the listed identifier.
Examplebash · example
runner versions shop
runner rollback shop
runner status shop
runner logs history shop
A rollback changes code/image; it does not undo migrations, databases or persistent files. Check that the current configuration is compatible with the previous version.
03 / USE CASE
Change configuration
The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up.
With Dokploy
In the application, open Environment and save LOG_LEVEL=info.
Run a new Deploy so the process uses the updated environment, and confirm the log level. For Compose, also review how the variables are passed to the service; this example covers an Application.
In this example, shop already uses env_sync: skip in the reviewed manifest, which preserves the local environment; LOG_LEVEL is not pinned under environment in the manifest.
Write the non-secret variable on the server and force the container to be recreated. Check the log level in the application's behavior.
Examplebash · example
runner env set shop LOG_LEVEL info
runner deploy shop --force
runner status shop
The application must read LOG_LEVEL at runtime. Pipeline variables only reach the container if the deploy process passes them along.
Documented reports and historical context
Report #3755 observed higher dashboard memory use after an update.
The runner records the result in the exit code and history. Check health and history: the fetch summary counts what was processed and may include JÁ IMPLANTADO, with no new version live.
Report #4817 lost variables in a Dokploy Cloud remote deploy; the team fixed the service configuration and said self-hosted installs were not affected.
In the normal flow, undecryptable secrets or a schema mismatch stop the deploy before any container action. Do not use the --insecure exception routinely. Configure the keys and review the bundle.
When to stay with the tool
Stay with Dokploy if you need a UI and its Swarm or volume backup features. The runner does not operate a cluster or protect data with backups.
How to evaluate the deploy step
The commands use shop as the example app. Adjust the identifier and instance to the generated manifest. Only remove the previous deploy after validating the new path.
Export Compose, variables, and volumes, and keep copies of your data. The wizard can generate one manifest per service: they are independent apps, with no deploy transaction across them. Define the order and dependencies before the cutover.
Prepare a Linux server with compatible Docker and Traefik, DNS, and a persistence strategy. Back up your data with your backup tool and test the restore. Install and initialize the runner following the getting started guide.
In the repository folder with the exported docker-compose.yml, Dockerfiles, or available images, run the explicit Compose conversion. Select the app services and review networks, volumes, secrets, version, and healthcheck in each generated manifest. In the example, the selected service lands in api/.deploy.yml: replace api with the directory the wizard generates. Services become independent apps; define the dependency order and keep copies of your data. The wizard does not deploy on its own.
Commit all reviewed manifests to the main branch before registering, and set up access to the private repo. Example for GitHub: replace my-org/shop with the repo, main with the published branch, api with the service directory, and production with the reviewed instance. In the following commands, use the app identifier registered from the manifest; shop is only the example. Register each service separately with its own --manifest-path, validate the preflight, and follow the planned dependency order.
Example with runnerbash · example
runner add --repo my-org/shop --branch main --manifest-path api/.deploy.yml --instance production --ckey v2
runner preflight shop
runner deploy shop
runner status shop
runner logs history shop
Alternative for a standalone app with a Dockerfile or image, without Compose conversion: use the simple wizard and the manifest at the root, instead of the two Compose steps above. Review and commit .deploy.yml to the main branch before registering; adjust repo, branch, instance, and app identifier.
Example with runnerbash · example
runner wizard --path .
runner validate --path .deploy.yml
runner add --repo my-org/shop --branch main --instance production --ckey v2
runner preflight shop
runner deploy shop
runner status shop
runner logs history shop
Validate the domain and the app's behavior before shutting down the previous deploy. Disable the old trigger to avoid two deployers on the same app. Set up polling to automate the pipeline on the server. If you prefer an external build, configure the source of the image or artifact produced by CI. The getting started guide details the prerequisites.