Comment on How do you manage you DB in a docker environment?
IratePirate@feddit.org 1 month ago
One per service. Not just because it’s easy, but because it allows you to minimise blast radius. If you’re running one DB per container and one container gets compromised, only that one DB is compromised. With one centralised DB for all containers, a breach of one container means access to the data of all containers that use this database without the need for any lateral movement.
Viceversa@lemmy.world 1 month ago
Now, is it one DB per container
Or one DBMS+DM per container?
IratePirate@feddit.org 1 month ago
Apologies for being imprecise on terminology. I meant the latter, per service.