News for hackers. Stuff that matters.
Re:Selfhosting on Localhost by bshipp on Tuesday July 05, 2022 @09:13AM (#31987819)
Same here! I read the headline and thought "isn't that what Docker is used for?" As soon as i opened the article I saw the author and I had the same idea, even down to using ufw-docker. I have individual ports scripted to open with ufw-docker after docker-compose is run.

I know docker isn't the best tool for every task, but I very much enjoy how it allows me to treat my laptop and my cloud servers as almost identical machines and compartmentalize my services.

Re:Selfhosting on Localhost by bluehatbrit on Tuesday July 05, 2022 @12:23PM (#31990242)
Yep! Containers are really great for this kind of thing, it's so trivial to run basically anything as long as the configuration docs are reasonable. I use a single node k3s cluster on my lenovo box (for learning) and just straight up docker-compose on my localhost and dedicated because it's just so easy.