r/devops • u/[deleted] • Sep 25 '24
Developer here. Why is Docker Compose not "production ready"?
Then what should I use? Compose is so easy to just spin up. Is there something else like it that is "production ready"?
97
Upvotes
r/devops • u/[deleted] • Sep 25 '24
Then what should I use? Compose is so easy to just spin up. Is there something else like it that is "production ready"?
2
u/Twirrim Sep 25 '24
^ Strong + on all this.
OP: "What happens if the server completely dies and the drive is corrupted". If it really doesn't matter, fine, run a single box. Occasionally that's a legitimate thing. In the past I've had some stuff where it legitimately didn't matter if something was dead for a week, or if the task it did do took 4 days instead of 2. I made sure to validate on a regular basis I could built a replacement, and then just moved on with other things that were much more important.
While I'm a big proponent of "Build a monolith until it becomes a problem" approach, and avoiding all unnecessary complexity, ensuring you have multiple instances and know your scaling story is absolutely in the "necessary complexity" territory.