Heroku vs Dokploy

Heroku fits teams that want the provider to run the platform and accept its per-resource pricing. Dokploy fits teams that will operate Docker hosts and want app data on servers they control, provided they check which features sit in its proprietary code.

On this page

Heroku vs Dokploy: when each platform fits

Heroku fits teams that want the provider to run the platform, and Dokploy fits teams that will operate Docker hosts and want app data on their own servers. Consider a team facing a Heroku renewal, a price change or a data location rule. If nobody on that team wants to own host patching, database backups or restores, staying on Heroku may still be the simpler path, and the decision becomes one of contract terms and cost. If the team already runs Linux servers and needs application data inside its own network, Dokploy becomes a serious candidate, provided the team accepts the operating work that comes with it. Treat the choice as an operating model decision first and a feature comparison second.

The decision turns on three questions and one check. First, who patches, backs up and restores? On Heroku the provider runs the platform and the managed Postgres. On Dokploy your team owns the host operating system, the Docker engine, Traefik routing, the database backups sent to external storage and the restore tests that prove those backups work. Second, where must data sit? Dokploy stores data wherever you install it, but for Heroku, confirm with the vendor in writing which region and backup location your plan uses before you compare. Third, which features need proprietary code? Dokploy is open core: code outside the /proprietary directory is Apache 2.0, while SSO, SCIM, audit logs and custom roles sit in separately licensed code. Check the Dokploy license file against the controls your security review requires before you commit.

Heroku's February 6, 2026 announcement moves the platform to a sustaining engineering model focused on stability, security, reliability and support, and away from new features. Enterprise Account contracts are no longer offered to new customers, existing Enterprise subscriptions will be honored and may renew, and credit card customers see no change to pricing or billing. The announcement gives no end-of-life or shutdown date and describes Heroku as an actively supported, production-ready platform, so it does not set a deadline for a move. What it does change is the roadmap. Ask your account team which contract type you hold, when it renews and which support and security commitments apply to it. If your plans depend on new features, such as Fir-generation dynos, which all require a Private Space, compare those dates against the operating work you would take on with Dokploy.

Which scenario favors Heroku or Dokploy

This table compares Heroku and Dokploy across common decision scenarios, with a better fit and the condition that makes it so. Read each row against your own constraints, including who will operate the servers, where data must stay, and which compliance or identity features you need. The main takeaway is that Heroku fits teams that want a managed platform and accept per-resource fees, while Dokploy fits teams that will run the VPS and Docker layer themselves.

ScenarioBetter fitCondition that holds
Small team with no servers to operateHeroku managed platformTeam has no one to patch hosts, manage backups or cover on-call, and accepts per-resource monthly fees.
Illustrative: a lender that must keep data on a VPS it controlsDokploy on your VPSOperator will patch the host, run Traefik and Docker, and send database backups to storage it controls.
Small app that tolerates sleep and wants the lowest entry feeHeroku Eco dynosEco dynos cost $5 per month for 1,000 shared dyno hours and sleep after 30 minutes without web traffic.
Team that needs SSO, SCIM or audit logs with an existing Heroku Enterprise subscriptionHeroku, while the subscription runsExisting Enterprise subscriptions may renew, but new customers cannot sign Enterprise Account contracts.
Team that needs SSO, SCIM or audit logs and will self-hostDokploy on a licensed tierThose features sit in proprietary code under the source-available license, so confirm the terms first.
Illustrative: a payments startup that needs Shield-tier controlsHeroku Shield tierShield Postgres starts at $350 per month on Heroku's pricing page; Dokploy compliance depends on controls you build.
Team with existing Docker operations skillsDokploy on your VPSTeam already runs Docker Compose, Traefik or Swarm and can operate backups and upgrades in-house.
Team on Heroku that wants Fir-generation dynosHeroku Fir platformFir needs a Private Space and Cloud Native Buildpacks; dynos range from $25 to $2,400 per month per Heroku's pricing page.

How Heroku vs Dokploy compares on hosting and control

Hosting location, identity and operator responsibilities decide most of the Heroku and Dokploy comparison. The four cards below cover where each platform runs your apps and data, where a self-hosted Dokploy install places work on your team, how SSO is licensed, and who owns backups and compliance evidence. Confirm each point against your own account, plan and region before you rely on it.

Where Heroku runs apps and data

Heroku runs apps on its managed platform, and its newer Fir generation carries one constraint that shapes the budget: according to Heroku's pricing page, every Fir-generation dyno requires a Private Space. Fir dynos range from $25 to $2,400 per month, so the Private Space is part of the cost before you add a database. Ask Heroku which region your Private Space would use, which add-ons run inside it, and where your Postgres and Redis data is stored.

Heroku pricing

Where Dokploy runs

Dokploy can run in two places. Installed on a VPS you operate with its install script, the Dokploy control plane, Traefik routing and your application containers all sit on hosts your team patches and monitors. On hosted Dokploy Cloud, Dokploy runs the control plane for you, so where your deployment data sits depends on Dokploy's hosting. Ask which region and which hosts hold your data before you pick a path. For a self-hosted install, the VPS provider and region are choices your team makes.

Dokploy repository

Identity and SSO

On a self-hosted install, SSO, SCIM, audit logs and custom roles sit in the proprietary part of the Dokploy repository, which falls under the Dokploy Source Available License while the rest of the code is Apache 2.0. Dokploy's pricing page lists SSO over OIDC and SAML on its Enterprise on Dokploy Cloud tier, reached through contact sales. Confirm in writing which identity features your Dokploy license and tier include. Then ask Heroku whether SAML SSO and audit trails are available on the plan your team uses.

Dokploy pricing

Backup and compliance responsibilities

Heroku Postgres Shield, which the pricing page describes as HIPAA and PCI compliant, starts at $350 per month. A self-hosted Dokploy install moves database backups, restore testing, patching and the evidence an assessor will request onto your team, although Dokploy supports backups of databases to external storage. Confirm which controls Heroku covers under Shield and which ones your team still owns. Ask Dokploy whether its Enterprise MSA and SLA apply to any hosts you run on Dokploy Cloud.

Heroku vs Dokploy capabilities side by side

This table compares Heroku and Dokploy across deployment model, multi-node scaling, databases and backups, monitoring, templates, CLI and API, and identity features. Where a Heroku detail needs confirmation, the cell says what to ask Heroku before you plan around it. The main takeaway is that Heroku runs the platform for you, while Dokploy leaves the Docker hosts, upgrades and backup storage with your team.

CapabilityHerokuDokploy
Deployment modelFir runs on Kubernetes and OCI containers and builds only with Cloud Native Buildpacks.Built on Docker with Traefik routing and Docker Compose support, on a VPS you operate or Dokploy Cloud.
Multi-node scalingScaling is set by dyno count and size. Fir dynos require a Private Space. Confirm node-level limits with Heroku.Supports multi-node scaling with Docker Swarm across the servers you add.
Databases and backupsHeroku Postgres plans from $5 per month (Essential-0) to $200 per month (Premium-0), Shield tier from $350 per month (Heroku pricing page).Database management with backups to external storage. Test restores before you rely on them.
Monitoring and notificationsFir is built on OpenTelemetry. Confirm which metrics, log drains and alert channels your plan includes with Heroku.Real-time CPU, memory, storage and network monitoring, with deployment notifications to Slack and Discord.
Templates and add-onsAdd-ons such as Heroku Postgres. Confirm the current catalog and template support with Heroku.600+ one-click templates.
CLI and APIHeroku CLI and platform API. Confirm current coverage and rate limits with Heroku.Includes a CLI and an API, as listed in the project README.
Identity featuresConfirm SSO, SCIM and audit log coverage for your account with Heroku, since new Enterprise Account contracts are no longer offered.SSO (OIDC and SAML), SCIM, audit logs and custom roles sit in source-available proprietary code, so check license terms before self-hosting.

What Dokploy's open-core license means for you

Dokploy's open-core license determines which parts of the code carry terms beyond the Apache License 2.0, so read it before you plan a migration. According to LICENSE.MD in the repository, content outside any /proprietary directory is under the Apache License 2.0, while content inside /proprietary falls under a separate LICENSE_PROPRIETARY file. The proprietary code covers features such as SSO, SCIM, audit logs and custom roles. Heroku works differently. It is a commercial managed service, and you pay Heroku monthly for each dyno, instance or database, as listed on Heroku's pricing page. With Dokploy on your own VPS, you own the license obligations along with the infrastructure.

Confirm the current state of the repository before you design around any gated feature. Do not rely on the path names in this summary. Check the proprietary terms in LICENSE.MD on the main branch and on the release you plan to install, and list every directory that carries them. Then read the proprietary license text and answer four questions for self-hosted use: whether you may run the gated features on your own servers, whether internal business use is covered, whether you may modify the proprietary code, and whether any fee, agreement or attribution applies. Record the answers with your legal team, because they decide whether SSO or audit logging can be part of your baseline.

Read the hosted Enterprise tier as a description of what the vendor sells, and check separately what the self-hosted license allows. Dokploy's pricing page describes an Enterprise on Dokploy Cloud tier, reached through contact sales with no listed price, that includes SSO (OIDC and SAML), SCIM, audit logs, custom roles, an MSA and SLA, and priority support. Those terms apply to the hosted offer. Ask the vendor in writing whether the same features are licensed for a Dokploy install on your own servers, and whether a separate agreement is needed. If SCIM provisioning is a day-one requirement, make that written answer a go or no-go check in your plan.

How a deploy and a request flow through a self-hosted Dokploy host

The diagram starts with a developer's git push to the Git provider, which hands the source to Dokploy running on a VPS you operate. Dokploy deploys the app containers, and Traefik routes incoming HTTPS requests to them. The app reads from a database on the same host, and backups go to external storage outside the boundary. Dokploy Cloud appears as a hosted path outside that boundary. Check who holds the keys, backups and restore tests inside the boundary, and where the hosted option stores its data before you choose it.

Deploy and request paths on a self-hosted Dokploy host.

What each option costs to run, by component

Heroku bills per resource, so the monthly total is the sum of every dyno, Private Space, database and add-on in the account. Every line below recurs each month, and the list prices come from the Heroku pricing page.

  • Dynos (recurring, per dyno): Cedar-generation Eco dynos are listed at $5 per month, Basic at $7, Standard-1X at $25, Standard-2X at $50 and Performance-M at $250. Eco includes 1,000 dyno hours shared by all Eco dynos in the account, and an Eco web dyno sleeps after 30 minutes without web traffic, according to Heroku Dev Center. Drivers: the number of web and worker processes, their size and whether they must stay awake.
  • Private Spaces (recurring, per space): Private-S dynos start at $125 per month and Shield-S at $150. Fir-generation dynos require a Private Space and range from $25 to $2,400 per month, according to Heroku's pricing page. Drivers: network isolation needs, the generation you run and the compliance tier.
  • Postgres (recurring, per database): Essential-0 starts at $5 per month, Standard-0 at $50, the high-availability Premium-0 at $200 and Shield-tier Postgres at $350, per the pricing page. Drivers: memory, storage, high availability and compliance tier.
  • Contract terms: Heroku's February 6, 2026 announcement says Enterprise Account contracts are no longer offered to new customers, existing Enterprise subscriptions will be honored and may renew, and credit card customers see no change to pricing or billing.

Check your renewal date and whether you pay by card or contract. Ask for a quote that lists each dyno type and count, each Private Space, each Postgres plan and add-on, and any Enterprise renewal terms.

What a move from Heroku to Dokploy involves

The sequence moves one Heroku app at a time from dynos and add-ons to Dokploy on a server you operate, with Heroku kept running until each check passes. It ends with a rehearsed cutover, a tested backup and restore path, and a decommission date tied to your Heroku renewal.

  1. Inventory apps, dynos, add-ons and config vars

    For each app, list its Procfile process types, dyno types and counts, add-ons with their plans, custom domains, scheduled jobs and config vars. App teams do the inventory with platform engineers, using the Heroku CLI and dashboard. Keep config var values out of shared spreadsheets, because many of them are secrets that will need rotation or re-entry in Dokploy. The output is one record per app and one per add-on, with a named replacement for every add-on. The step is done when every config var and scheduled job is accounted for.

  2. Confirm each app builds outside Heroku

    Confirm that each app builds from a Dockerfile, a Docker Compose file or a build path that Dokploy supports for its language, and map each Procfile process type to a container command. Heroku's Fir platform builds apps only with Cloud Native Buildpacks, so any app running on Fir needs its build path checked against Dokploy before you commit to a move. App teams own the build changes, and platform engineers review them. The output is a build that produces a runnable image on a Dokploy test server. The step is done when that image passes the app's health check.

  3. Install Dokploy on a server you operate

    Install Dokploy on a VPS your team operates, using the install script in the Dokploy repository, or choose Dokploy Cloud if a hosted control plane fits your data location and operating model. Your platform engineers own the host's operating system updates, Docker, firewall rules and backups of the Dokploy host itself. Confirm which SSO, audit log and custom role features your edition includes, since the proprietary code in the repository covers those areas. The output is a dashboard reachable over HTTPS and a test app deployed from Git through Traefik routing. The step is done when that test app is reachable on a test domain.

  4. Move databases with dump and restore and test backups

    Export each Heroku Postgres database with pg_dump in custom format or with Heroku's pg:backups, then restore it into a PostgreSQL instance that you run or that Dokploy manages. Compare row counts and run sample application queries against the restored copy. Configure external backups to storage outside the Dokploy host, then restore a backup into a scratch database to prove it works. The output is a passing restore test and a written backup schedule. Plan a final sync or a write freeze before cutover so no data is lost between the last export and the switch.

  5. Rehearse the DNS and TLS cutover

    Point a test hostname at the Dokploy server, confirm that Traefik issues and renews the TLS certificate, and check that the app responds on it. Then write the production cutover as a staged change, covering DNS records, certificates, webhooks, login callbacks and background jobs. Keep Heroku serving production traffic until health checks, login flows and scheduled jobs pass on the Dokploy side. The output is a cutover runbook that one person can follow and a successful rehearsal. The step is done when the runbook has been run once without changes to the sequence.

  6. Plan rollback before cutover

    Write the rollback path before you change any production DNS record. Coolify's guide for teams leaving managed platforms notes that a rollback can redeploy a retained application image but does not restore databases or persistent files, so data needs its own recovery plan. Keep the Heroku app and its add-ons intact until the team agrees the cutover is stable, and decide in advance who can reverse the DNS change. The output is a rollback runbook with an owner, tested once against a test hostname. The step is done when the team can state exactly what a rollback restores and what it does not.

  7. Decommission Heroku on your renewal schedule

    Once the Dokploy side has run stably, export final data, remove dynos, detach add-ons and retire the Heroku app. Tie the timing to your Heroku renewal dates and confirm the billing terms in writing, because Heroku's February 6, 2026 announcement gives no end-of-life date, says existing Enterprise subscriptions will be honored and may renew, and states that credit card customers see no change to pricing or billing. Finance and the platform owner decide the date together. The output is a confirmed billing stop, archived exports and removed team access to Heroku. The step is done when the final invoice and the archived backups are both on file.

Questions buyers ask before moving off Heroku

How much does it cost to move off Heroku?

The cost is the sum of the servers you rent, database and backup storage, monitoring, and the staff time to run the platform, plus any implementation fee. Heroku's list prices show what you are replacing: Eco dynos at $5 per month for 1,000 dyno hours shared across the account, Basic at $7, Standard-1X at $25, Standard-2X at $50, and Heroku Postgres Essential-0 at $5, Standard-0 at $50 and Premium-0 at $200 (source: Heroku's pricing page). Private Space dynos start at $125 per month. Your replacement bill will differ from list prices. One-time costs are the migration and first setup. Recurring costs are servers, storage, backups, patching and on-call time. Ask the quote for each as a separate line item, with server sizes, backup retention and who is paid for each task.

How long does a Heroku migration take to plan and run?

The timeline depends on how many apps you have, how each app builds, how many add-ons it uses, how much data must move, and how much compliance evidence the move must produce. Apps that build from a Dockerfile or a supported buildpack move faster than apps that need build changes. A database with large volumes or tight write windows needs its own rehearsal. Team availability and the change windows agreed with business owners also set the pace. Ask for a written schedule in the fixed scope, with one line per app, the cutover window for each, the dates of the database rehearsal, and the rollback steps. Treat any duration given in a sales call as an estimate until the application inventory is complete.

What does a Heroku migration need from our team?

Your team supplies the facts, the access and the decisions that only your organization can make. Start with an inventory of every app, worker, scheduled job, add-on, domain, environment variable and third-party integration. Provide access to the cloud account or servers that will host the platform, the DNS zone, and read-only access to the Heroku apps. Name an owner for each app and an on-call contact for production after cutover. Decide which build method each app uses, who approves each cutover, and which controls the move must evidence for your compliance team. Environment variables must be re-created on the new platform, so assign someone to verify each secret. Confirm in the quote which of these tasks are in scope and which stay with your team.

Can our in-house team migrate Heroku apps without outside help?

Yes, an internal team can run the migration alone if it already operates Linux servers, Docker, TLS certificates, DNS and PostgreSQL backups, and if it has people who can take on patching and on-call. The gaps usually appear after cutover: security patches, certificate renewal, database failover, restore testing and monitoring. Heroku handled much of this for you, so ask whether your team has time for these tasks every month. An outside partner can take the migration, the hardening and the first documentation on a fixed scope while your team operates the platform. Compare the options using the same task list and the hours each one needs per month, not the cost of the migration alone.

Must we leave Heroku now if there is no shutdown date?

No. Heroku's February 6, 2026 announcement gives no end-of-life or shutdown date and says Heroku remains an actively supported, production-ready platform. Heroku is moving to a sustaining engineering model focused on stability, security, reliability and support, and Enterprise Account contracts are no longer offered to new customers. Existing Enterprise subscriptions will be honored and may renew, and credit card customers see no change to pricing or billing (source: the Heroku blog post). The move is therefore a planning decision tied to your renewal date, cost, data location or lock-in concerns. Set a target date around your renewal, run the new platform in a test environment first, and keep the Heroku app running until the new one is verified. Confirm your current terms with Heroku's account team before you sign.

Do SSO and audit logs depend on Dokploy's proprietary code?

Yes, in Dokploy the SSO, SCIM, audit log and custom role features sit in the proprietary code, which is licensed separately from the Apache 2.0 code. Dokploy's repository is Apache 2.0 outside its /proprietary directories and under the Dokploy Source Available License inside them. Dokploy's Enterprise on Dokploy Cloud tier lists SSO (OIDC and SAML), SCIM, audit logs, custom roles, an MSA and an SLA, with pricing available only through contact sales. Ask Dokploy in writing whether your self-hosted deployment may use those features, on what terms, and whether the answer depends on your plan. If you need SSO and audit logs at launch, make that written answer a selection criterion before you start the migration. Do not assume that the license of the core code covers these features.

Can we move a Heroku Postgres database with limited downtime?

A dump gives you a consistent copy, but downtime is the gap between stopping writes on Heroku and the restored database accepting traffic on the new platform. That gap depends on database size, restore and verification time, the write rate, and whether you can pause writes at cutover. Some teams keep the old database running and sync changes until cutover, which shortens the window but adds replication setup and checks. Whether that works depends on your PostgreSQL version and how the new database is configured. Rehearse the export and restore on a copy of production with pg_dump and a timed restore, then write the rollback steps before you fix the date. Ask the quote for the expected downtime method, the rehearsal results and the plan if cutover fails.

How DeployOpen plans, implements and supports a Dokploy move

DeployOpen starts a Heroku to Dokploy move with a written scope that names the apps, databases, domains and environments involved. We then build the Dokploy install on servers in your own infrastructure, test it, and document how each part runs. Ongoing support, upgrades and continuous testing are available as retainers.

How we scope

  • Written scope that lists each Heroku app, add-on, custom domain and environment to move
  • Fixed-scope engagement with deliverables and timelines agreed in writing before work starts
  • Inventory of buildpacks, Procfile process types, config vars and Postgres databases in use today

How we build

  • Dokploy installed on servers in your own cloud account or data center using its install script
  • Traefik routing, TLS and domain setup, plus Docker Swarm node joins if you need multi-node scaling
  • Database backups to external storage and a restore test from the Heroku Postgres export

How we hand over

  • Documentation of the Dokploy setup, app definitions, environment variables and backup jobs
  • Runbooks for deploys, rollbacks, database restores and proxy or certificate changes
  • License review of which Dokploy features you use, since SSO, SCIM and audit logs sit in proprietary code

How we support

  • Ongoing support, upgrades and continuous testing available as retainers after handover
  • Upgrade plan for Dokploy releases, checked against release notes before each change is applied
  • Security testing of the Dokploy setup, with findings and fixes documented for your review

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.