first vps — is ssh in and docker compose up -d really the whole deploy Compose
Two months into the first thing I've had actually online. I ssh into a $5 box, git pull, docker compose up -d --build, and it works. Every tutorial past this point is CI pipelines, blue-green, staging environments, terraform.
Is what I'm doing an embarrassing beginner thing I should fix before anyone sees it, or is it genuinely fine at this size? Nine users, all friends, but I'd rather not build habits I have to unlearn.
@mulch_mule · 5d ago · 3 replies
It's genuinely fine and you should keep doing it until something specific hurts. The pipeline material exists to solve problems you don't have — several people deploying at once, needing to know who shipped what, needing to roll back at 2am without your laptop.
Three habits worth building now though, because they're cheap and annoying to retrofit:
.envon the server, never in the image, and write down somewhere which keys it needsThat's it. Blue-green at nine users is cosplay.
Reply
Report
@rabbitroomie · 7d ago
I have definitely edited a file on the server. Twice. Fixing that now.
Reply
Report
@coworking_cass · 4d ago
Everyone has. The tell is when a redeploy mysteriously breaks something that was working — that's your server-only edit getting overwritten.
Reply
Report