moot✳
A little more connected.
Join Moot

My side project costs $7 a month to run

I built a habit tracker which currently has about 1,100 users and maybe 150 daily. Next.js, Postgres, Redis and a worker for reminder emails, all in Docker Compose on one VPS behind Caddy.

Free email tier, Cloudflare in front.

The whole bill is 7 dollars a month and I keep reading articles and reddit threads that I'm one bad night away from losing everything.

Backups are a nightly pg_dump to object storage with no staging, and all deploys are git pull and docker compose up.

Where's the weak spot? What would you change first if it ever reached 10k users?

0
4 comments
4 comments

it would have been 0 if you ran it on cloudflare workers instead of custom VPS

living on the edge with that deploy method, i respect it

for 10k you'd wanna get those deploys sorted first, a bad git pull at the wrong time will have you sweating bullets while 10k people stare at an error page

At 10k it's mostly gonna be reachability. So losdbalancer and multiple frontends. Otherwise you might run into load issues.

A read only copy of the postgres and pgbouncer and a fast failover - depend son your amounts of stored data tho. If your recovery is fast enough that not necessarily needed.

Otherwise, your setup sounds easy to handle.

I'm at ~500€/month with 0 users right now btw.

It's a habit tracker. If not shitty vibe coded it runs to over 100k on that 7$ vps.