What you are signing up for
Heroku announced sustaining engineering mode on February 6, 2026. Other platforms are an option, but usage pricing adds up: Railway lists roughly $10 per GB of RAM per month (pricing). A VPS is cheaper per gigabyte, and in exchange you take on OS updates, backups and TLS. Be honest with yourself about that part; cheap is not zero-ops.
1. Get a server
Any Linux VPS with Docker works. Create a deploy user with SSH key access, install Docker and the compose plugin, and point a DNS record at it. If the box is at home or behind NAT, see deploying behind NAT instead of opening ports.
2. Turn the Procfile into a compose file
Each Procfile process becomes a compose service built from the same image. Heroku add-ons become services too, or stay managed: a hosted Postgres is often the right call for your first move.
# Procfile# web: bundle exec puma -C config/puma.rb# worker: bundle exec sidekiqservices: web: build: . command: bundle exec puma -C config/puma.rb env_file: .env ports: ["3000:3000"] worker: build: . command: bundle exec sidekiq env_file: .env redis: image: redis:7 caddy: # TLS in front of web image: caddy:2 ports: ["80:80", "443:443"] volumes: ["./Caddyfile:/etc/caddy/Caddyfile"]3. Move your config vars
Export them once, then import them into muster env, which keeps config in the repo and encrypts every secret value to the people and machines allowed to read it.
heroku config --shell -a my-app > .envmuster env init --from .env --envs local,productionrm .envmuster env check --env production # every required key set and valid?On the server, add it as a recipient and write a 0600 .env for compose. Pushing env straight to servers is on the roadmap; until then this is the path.
# on the servermuster env keygen # prints this machine's public key# on your laptopmuster env recipient add server:vps1 --pubkey mstpub1… --envs productiongit commit -am "env: add vps1" && git push# on the servermuster env pull --env production --to .env4. Set up muster
On the server, in the project, muster setup reads the compose file and writes muster.json and hooks. It infers health checks from compose ports, so web gets GET :3000/health if your app answers there.
muster setup --scanmuster hooks approvemuster deployEach service deploys in order, infrastructure first, and has to pass its health check before the next one starts. If one fails, muster prints the likely cause and offers Retry, Rollback, Skip or Abort.
5. Deploy from your laptop or CI
Add the server to your local project's fleet once, then deploy it the way git push heroku used to feel:
muster fleet add vps1 [email protected] --mode muster --path /opt/my-appmuster fleet deploy vps1Or let GitHub do it on every push to main. muster ci init github writes a workflow with a dry run on pull requests, a deploy on main and a job summary that names the likely cause when something fails.
What you no longer get for free
- Backups. Schedule database dumps off the box, and test a restore.
- Updates. Turn on unattended security updates.
- Scaling. One server is one server. Add more with a fleet, or a load balancer when you need it.