Deploy like you would by hand. Minus the scripts.
Describe your app in one dokwe.yml: nginx and PHP-FPM, systemd services, static files and cron. Dokwe ships each push to your server as a new release, checks it, and switches over.
mode: native host: web-1 runtime: php: "8.3" build: - composer install --no-dev deploy: destination: /var/www/my-app shared: [storage] release: - php artisan migrate --force services: web: kind: nginx+php-fpm root: public queue: kind: systemd command: php artisan queue:work scheduler: kind: cron schedule: "* * * * *" command: php artisan schedule:run
For apps that want a real server.
nginx and PHP-FPM, a queue worker and the scheduler, on one box.
A Node app as a systemd service behind nginx, plus background workers.
Built files served by nginx on your own server.
Release folders and atomic switches, without keeping deploy scripts alive.
From push to release.
Describe the app
dokwe init writes a commented dokwe.yml for Laravel, Next.js, Node or PHP. dokwe validate checks it on your machine.
dokwe validate
Pick native and a server
Switch the project's deployment mode to Native and point the environment at one of your connected servers.
Push
Dokwe builds in a clean sandbox, ships a release to your server, runs your release commands, switches current and checks the app.
A bad release never stays live.
An atomic switch
Each deploy unpacks to releases/<sha>, links your shared folders, then flips current in one step.
Migrations run first
If a release command fails, the new release is thrown away and the old one keeps serving.
Switch back on failure
After the switch Dokwe checks the app over HTTP, TCP or a command. If it fails, current goes back to the previous release.
No rebuild
Keep 1 to 50 releases (5 by default). Rolling back runs your release_rollback commands and switches back.
PHP and Node installed for you
On Ubuntu and Debian, Dokwe installs the PHP or Node version you ask for, with extensions and packages.
Required keys are checked
List keys under env.required and a deploy stops before release if any are missing.
Your domain, two ways.
Leave domain out and Dokwe serves the app on its automatic address and your custom domains. Or set domain and certbot on your server issues the certificate.
- Builds run in a sandbox on Dokwe, not on your server
- PHP projects ship without
node_modulesor.git - systemd units, nginx sites and crontab entries written for you

Native mode next to doing it yourself.
| Question | Dokwe native | Hand-rolled scripts |
|---|---|---|
| Release layout | Built in: releases, shared, atomic switch | You write and maintain it |
| Where it builds | A clean sandbox on Dokwe | Usually on the server or CI |
| Failed health check | Switches back to the previous release | Whatever your script does |
| Config | One dokwe.yml, checked before deploy | Scripts plus server config |
Good questions, straight answers.
Do I need Docker on my server?
No. Dokwe builds in a sandbox on its side and ships a .tar.gz. Your server runs the app with systemd and nginx.
What can it run?
PHP apps with nginx and PHP-FPM, long-running processes as systemd services, static sites with nginx, and scheduled commands with cron. PHP and Node are the build runtimes today.
What happens if a deploy fails?
If a release command fails, the new release is discarded and the old one keeps serving. If the health check fails after the switch, Dokwe points current back at the previous release.
How do rollbacks work?
Dokwe keeps the last 5 releases by default (up to 50). A rollback runs your release_rollback commands, switches back and restores that release's services. Nothing is rebuilt.
Which servers are supported?
Your own Linux servers connected to Dokwe. Automatic runtime installs work on Ubuntu and Debian.
Can I check my dokwe.yml before pushing?
Yes. dokwe validate runs the same checks on your machine and exits with status 1 on errors.
Ship your Laravel or Node app to your own server.
Run dokwe init, switch to native, push.