Softwr

Web Development · head to head

Cloudflare Pages vs Dokku

Cloudflare Pages logo

Cloudflare Pages

Web Development

Git-connected hosting for static sites and full-stack frontends on Cloudflare's network

From
Free
Free plan
Yes
Dokku logo

Dokku

Cloud

Single-server platform that accepts a git push and runs Heroku buildpacks on Docker

From
Free
Free plan
Yes

The short version

  • Cloudflare Pages is free; Dokku starts at $849 one-off.
  • Only Cloudflare Pages lists direct Upload of prebuilt assets; only Dokku lists git push deploy.
  • Where Cloudflare Pages falls short: cloudflare recommends Workers for new projects, so Pages is in maintenance mode.

How do Cloudflare Pages and Dokku differ?

Cloudflare Pages and Dokku differ on pricing model, platforms and category (Web Development against Cloud). Only the attributes on which Cloudflare Pages and Dokku actually diverge.

Attributes where Cloudflare Pages and Dokku differ
AttributeCloudflare PagesDokku
Pricing modelFreemiumOpen source, no licence fee
PlatformsWebLinux, Self-hosted, API
CategoryWeb DevelopmentCloud

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for Cloudflare Pages and 6 only for Dokku. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Cloudflare Pages

  • Git-connected builds and deploys
  • Direct Upload of prebuilt assets
  • Pages Functions for server-side code
  • Preview deployments
  • Instant rollbacks
  • Custom domains
  • Unlimited sites, seats, requests and bandwidth
  • Framework guides for Next.js and others

Only in Dokku

  • Git push deploy
  • Heroku buildpacks
  • Datastore plugins
  • Automatic certificates
  • Zero downtime deploys
  • Pluggable schedulers

What is each one used for?

Cloudflare Pages is most often brought in for hosting static sites with unlimited bandwidth. The jobs each tool is most often brought in to do.

Cloudflare Pages

  • Hosting static sites with unlimited bandwidthnot Dokku
  • Deploying frontend frameworks from GitHubnot Dokku
  • Sharing preview links with designersnot Dokku
  • Adding light server-side logic with Functionsnot Dokku
  • Running documentation or marketing sites cheaplynot Dokku

Dokku

  • Running a dozen side projects and client applications on one virtual private server with Heroku style deploymentnot Cloudflare Pages
  • Moving off a managed platform when the monthly bill has grown faster than the traffic hasnot Cloudflare Pages
  • A consultancy that wants buildpack deployments without teaching every client team Kubernetesnot Cloudflare Pages
  • Keeping a legacy Procfile application alive on hardware you control after a managed platform deprecates its stacknot Cloudflare Pages

Where do Cloudflare Pages and Dokku fall short?

Cloudflare Pages's most cited limit: cloudflare recommends Workers for new projects, so Pages is in maintenance mode. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Cloudflare Pages

  • Cloudflare recommends Workers for new projects, so Pages is in maintenance mode
  • Free plan caps at 500 builds a month and 20,000 files
  • A single asset is limited to 25 MiB per file
  • Deployments older than 30 days are deleted unless recent

Dokku

  • One maintainer accounts for nearly all human commit activity and the project records roughly 10,500 US dollars of annual income on Open Collective, which is not enough to fund a maintainer, so continuity rests on one person continuing to volunteer
  • Dokku Pro asks 849 US dollars for a lifetime licence from a project with no disclosed legal entity behind the promise and no published refund terms, while the product is still described as in development at early bird pricing
  • Dokku is single-server by design, and the k3s scheduler that provides multi-node support is missing log retrieval, process inspection and content-based health checks, with a post-run hook the documentation says does not consistently fire
  • Supported operating systems are limited to Ubuntu 22.04 or 24.04 and Debian 11 or later, so organisations standardised on Red Hat, Rocky or Alma Linux cannot run it on their approved base image
  • Backups are separate commands per datastore plugin that you schedule yourself, with no unified snapshot, no point-in-time recovery and no tested restore path, so verifying that a restore works is entirely your responsibility

How much do Cloudflare Pages and Dokku cost?

Cloudflare Pages is free to use; Dokku has a free plan, with paid plans from $849 one-off. Plan by plan below, from each vendor's own pricing page.

Cloudflare Pages

Free

No published plan breakdown. See the Cloudflare Pages review.

Dokku

Free
  • DokkuFree
    • MIT licensed, no usage limits
    • Command line and SSH only
    • All datastore and certificate plugins
  • Dokku Pro$849 one-off
    • Lifetime licence with free upgrades and no subscription
    • Covers 1 production and 2 pre-production servers
    • Web dashboard and JSON REST API

Which should you pick?

Choose Cloudflare Pages if

  • You need git-connected builds and deploys.
  • You want to start without paying.
  • You also want direct upload of prebuilt assets.

Choose Dokku if

  • You need git push deploy.
  • You want to start without paying.
  • You work on Linux, Self-hosted, API.
  • You also want heroku buildpacks.

Questions people ask

Is Cloudflare Pages or Dokku better?
It depends on the job. Cloudflare Pages fits hosting static sites with unlimited bandwidth; Dokku fits running a dozen side projects and client applications on one virtual private server with Heroku style deployment. Cloudflare Pages starts at Free and Dokku at Free.
Which is cheaper, Cloudflare Pages or Dokku?
Cloudflare Pages starts at Free and Dokku at Free.
Does Cloudflare Pages or Dokku run on more platforms?
Cloudflare Pages runs on Web. Dokku runs on Linux, Self-hosted, API.
Can I use Cloudflare Pages for free?
Both have a free tier, so you can try either at no cost before committing.
What is Cloudflare Pages best used for?
Cloudflare Pages is most often used for hosting static sites with unlimited bandwidth, deploying frontend frameworks from github, sharing preview links with designers, adding light server-side logic with functions. Of those, hosting static sites with unlimited bandwidth and deploying frontend frameworks from github are not what Dokku is typically brought in for.
What can Cloudflare Pages do that Dokku cannot?
Cloudflare Pages covers Git-connected builds and deploys, Direct Upload of prebuilt assets, Pages Functions for server-side code, Preview deployments. Dokku covers Git push deploy, Heroku buildpacks, Datastore plugins, Automatic certificates.

Answered from the vendors’ own pages

Cloudflare Pages: Is Cloudflare Pages free?

Yes, there is a Free plan with 500 builds a month, and the vendor says all plans include unlimited sites, seats, requests and bandwidth.

Source
Dokku: Is Dokku still maintained?

Yes. Version 0.38.27 shipped in August 2026 with roughly six releases in the preceding two months. The caveat is that one maintainer writes nearly all of it.

Cloudflare Pages: Should I start a new project on Pages?

Cloudflare's documentation says new static sites and full-stack apps should start with Cloudflare Workers.

Source
Dokku: What does Dokku Pro give me over the free edition?

A web dashboard, a JSON REST API, git push over HTTPS, browser log tailing, team management and email support from the maintainers. It costs 849 US dollars once for one production and two pre-production servers.

Cloudflare Pages: What are the file limits?

Sites can contain up to 20,000 files on the Free plan, and a single asset can be up to 25 MiB.

Source
Dokku: Can Dokku run across multiple servers?

Only through the k3s or Nomad schedulers. The k3s path is missing several commands and health check types, and the older Kubernetes scheduler is deprecated and no longer developed.

Cloudflare Pages: How do I deploy to Pages?

Connect a Git provider, upload prebuilt assets with Direct Upload, or use the C3 command line tool.

Source
Dokku: Will my Heroku application run on it unchanged?

Usually. Dokku runs the same buildpacks and reads a Procfile, so the application layer normally moves across. Add-ons, scaling behaviour and backups are the parts you have to rebuild.

Share

Related pages

Other head to heads