Better HN
topnewbestaskshowjobs
Log inSign up

throwaway6835-8

16 karma · joined Jun 19, 2023 (3y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

> I would gain absolutely noting from it

What about isolation? Of runtime, ports, dependencies?

comment 3y ago · link · parent

> I do not use docker compose because each server is in active development so I cannot compile it into an image

That's something I've seen many times said by many people but I don't understand. Your code can be mounted from the host into the container. There's no need to rebuild images with each change. Inside such "development" container some form of watcher/auto-rebuild can run and recompile & restart your program after changes are made in code. Isn't it standard practice?

comment 3y ago · link · parent

Like having lakes?

comment 3y ago · link · parent

Why would anyone change anything on the machine if the machine is managed by Ansible?

comment 3y ago · link · parent

Go with Ansible unless you want to fully dedicate into Nix ecosystem and spend a lot of time learning it (and it's not easy, for example because of lacking documentation). Also Ansible is something you more often find in actual projects/workplace.