logoalt Hacker News

huijzertoday at 6:22 AM2 repliesview on HN

Agree, I used to always use Heroku or Render style platforms for my own software, but nowadays I just have a Linux server with Docker Compose and a Cron job. The cron job every minute runs docker pull (downloads latest image) and docker up -d (switches to new version only if there is a new version). And put caddy in front for the HTTPS. This has been very cheap and reliable for years now.


Replies

saltmatetoday at 6:26 AM

What images are you running that you'd need the latest version up after just a minute?

show 2 replies
RandomBKtoday at 9:01 AM

One annoyance (I don't know if they've since fixed it) was that Docker Hub would count pulls that don't contain an update towards the rate limit. That ultimately prompted me to switch to alternate repositories.

show 1 reply