Replace Heroku?

NOT REALLY · don't bother
catalog price reference $7/mocategory ☁️ hostingreported replacement votes 0

A consolation build is possible, but the paid product's decisive value sits outside a solo rebuild. For Heroku, deploy one containerized app with logs and a managed reverse proxy on a user server. The hard boundary is managed runtime, add-ons, buildpacks, databases, support, and operational maturity, plus infrastructure scale, operations, and reliability.

the prompt
Build a closest honest personal substitute for Heroku in an empty repository.
Use Docker Compose, Caddy, PostgreSQL, Redis, and a small Go control plane; do not offer alternative stacks.
The core loop is: deploy a few trusted containerized apps behind a managed reverse proxy on one user-owned server, route domains, retain logs, and perform backups.
Make the first run work locally with one documented command.
Store all user data locally by default and make export straightforward.
Put secrets in .env, ship .env.example, and never commit credentials.
Accept a Git repository or container image and one explicit Dockerfile-based build path.
Implement applications, environments, secrets, domains, health checks, and rolling container replacement.
Use Caddy for automatic TLS and route only to healthy local containers.
Capture bounded build and runtime logs and expose restart, rollback, and redeploy actions.
Back up PostgreSQL metadata and document backups for each deployed application's data volumes.
Add host metrics, disk alerts, update instructions, disaster recovery, and a prominent single-server warning.
Include clear empty, loading, success, and recoverable error states.
Add input validation, safe filenames, and graceful handling of unavailable APIs.
Write focused tests for the core transformation and one end-to-end happy path.
Create a README with setup, architecture, permissions, data location, and backup steps.
Do not add accounts, billing, telemetry, analytics, or a hosted control plane.
Do not claim to reproduce proprietary data, network liquidity, regulated access, or frontier infrastructure.
Deliberately leave out multi-region or serverless infrastructure.
Deliberately leave out managed data stores and global edge delivery.
Deliberately leave out DDoS response, compliance, and guaranteed uptime.
Finish by running the tests and listing the exact commands used.

$ open in your agent (prompt prefilled, you press enter) or copy it raw · this prompt is generated from the build plan · improve it via PR

why people still pay

People still pay for Heroku because hosting products sell an operations team and failure-domain diversity, not merely a deploy button. The recurring cost buys patching, certificates, isolation, secrets, builds, deploys, logs, metrics, backups, capacity, incidents, and security response, not just the visible interface.

what you lose

xmanaged runtime, add-ons, buildpacks, databases, support, and operational maturity

xglobal edge network

xmanaged databases

xautoscaling

xDDoS protection, support, and compliance

prior art to inspect before buildingCoolifyActive open-source self-hosting platform for applications, databases, and services.
reported replacements · 0share on X ↗"Heroku replacement research and build prompt"
questions
What does the Heroku verdict mean?

The directory does not recommend replacing this one from a prompt. Recheck price before merge. Read the breakdown above.

What price does this directory record show for Heroku?

The directory records $7/month for Basic Dyno, checked 2026-07-31. Verify the source before making a purchase decision. This reference stays outside retail Stack Math unless current matched evidence supports the comparison.

What do I lose by replacing Heroku?

Honestly: managed runtime, add-ons, buildpacks, databases, support, and operational maturity; global edge network; managed databases; autoscaling; DDoS protection, support, and compliance. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Heroku?

The listed prior art includes Coolify (Active open-source self-hosting platform for applications, databases, and services.). Inspect those projects before starting from a blank prompt.