You Don't Need Docker, Redis or a Queue to Run a Real Product
My product runs on shared hosting. No Docker, no Redis, no queue workers, no Kubernetes, no build step. It has 40 scheduled jobs, a VIN checker, a price checker across several shops, server-rendered share images, and 53
My product runs on shared hosting. No Docker, no Redis, no queue workers, no Kubernetes, no build step.
It has 40 scheduled jobs, a VIN checker, a price checker across several shops, server-rendered share images, and 534 commits since January. It works.
I'm not saying this setup is right for everyone. I'm saying most of us reach for infrastructure long before we need it.
What it actually runs on
TrustCheck is Laravel 12, PHP 8.3 and MySQL, with server-rendered Blade and plain CSS and JavaScript. There's no npm run build. The CSS file you edit is the CSS file the browser gets.
The parts people usually add infrastructure for, and what I did instead:
Scheduled jobs. My host doesn't give me a crontab over SSH. So a free Cloudflare Worker calls one URL every minute:
export default {
async scheduled(event, env, ctx) {
const res = await fetch(env.TICK_URL, {
method: 'POST',
headers: { 'X-Cron-Token': env.CRON_TOKEN },
});
if (!res.ok) throw new Error('Tick failed: HTTP ' + res.status);
},
};
That URL starts php artisan schedule:run as a detached process, so a long job never holds the web request open. All 40 jobs run from it.
Caching. Laravel's file cache. VIN reports, price results, shop catalogues. No Redis server to run or pay for.
Slow work. Instead of a queue, slow things happen on a schedule. The price checker downloads shop catalogues every 4 hours, so a visitor's search only reads a cached copy. The car checker warms its popular pages at night.
Deploys. git pull on the server, rebuild Laravel's caches, check the live site. The vendor/ folder is committed, because shared hosting can't run Composer reliably.
What it costs me
It isn't free of pain. Shared hosting has limits you only find by hitting them. exec() is disabled, so I use proc_open(). There's a cap on threads per account that killed an image renderer. There's a virtual memory ceiling that killed a job using 60 threads.
Every one of those took me an afternoon to find. But that's a few afternoons, not a monthly bill and a second job running servers.
The argument against
The fair objection: this doesn't scale. If TrustCheck had a million users, a file cache and a cron Worker wouldn't hold.
I agree. When that happens, I'll move. The move will be easier because the app is simple, and I'll know exactly which part broke first, instead of guessing in advance.
Until then, every hour I'd spend on Docker files is an hour not spent on the product.
What's the simplest setup you've run a real product on? And what finally made you move off it?
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.