Answer the question
In order to leave comments, you need to log in
Should I use Docker to deploy to vps?
Hello everyone, I have a vps with 2 gigs of RAM and a not very big screw.
I also have a small project (flask, nginx, postgres, redis) and docker-compose for it.
Actually the question is: Is it advisable to use docker-compose at all if I need to lay out the project on one vps and how much more efficient will everything work if I set everything up and raise everything myself?
Answer the question
In order to leave comments, you need to log in
From the point of view of the modern approach, "Infrastructure as code" is definitely worth it. In the case of a docker, the overhead still turns out to be small and without a serious load - hardly noticeable at all. And even if sometime such a misfortune happens that somewhere the performance drops, it will be much easier to take a fatter VPS instance than to dance with tambourines.
PS All eggs in one basket is better not to. At least, it is better to take away a DB on the separate machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question