Native deploys · No Docker on your server

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.

● PHP and Node● Automatic switch-back● Keeps 5 releases
dokwe.yml
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
Who it's for

For apps that want a real server.

PHPLaravel and PHP

nginx and PHP-FPM, a queue worker and the scheduler, on one box.

JSNode services

A Node app as a systemd service behind nginx, plus background workers.

WWWStatic sites

Built files served by nginx on your own server.

VMTeams with servers

Release folders and atomic switches, without keeping deploy scripts alive.

How it works

From push to release.

STEP 1

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 init
dokwe validate
STEP 2

Pick native and a server

Switch the project's deployment mode to Native and point the environment at one of your connected servers.

STEP 3

Push

Dokwe builds in a clean sandbox, ships a release to your server, runs your release commands, switches current and checks the app.

Safe by design

A bad release never stays live.

Releases

An atomic switch

Each deploy unpacks to releases/<sha>, links your shared folders, then flips current in one step.

Release commands

Migrations run first

If a release command fails, the new release is thrown away and the old one keeps serving.

Health check

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.

Rollback

No rebuild

Keep 1 to 50 releases (5 by default). Rolling back runs your release_rollback commands and switches back.

Runtimes

PHP and Node installed for you

On Ubuntu and Debian, Dokwe installs the PHP or Node version you ask for, with extensions and packages.

Variables

Required keys are checked

List keys under env.required and a deploy stops before release if any are missing.

HTTPS

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_modules or .git
  • systemd units, nginx sites and crontab entries written for you
dokwe.com / servers / web-1
A connected server in Dokwe with its apps, uptime and live metrics.
Why not a deploy script?

Native mode next to doing it yourself.

Native mode next to doing it yourself.
QuestionDokwe nativeHand-rolled scripts
Release layoutBuilt in: releases, shared, atomic switchYou write and maintain it
Where it buildsA clean sandbox on DokweUsually on the server or CI
Failed health checkSwitches back to the previous releaseWhatever your script does
ConfigOne dokwe.yml, checked before deployScripts plus server config
FAQ

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.