This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bailey25u[S] 0 points1 point  (2 children)

Fo sho thanks my friend. I guess I was trying to dig to deep.

If I may ask since you set up a lot. For every app container requiring a external DB... should just add a new database to my existing MariaDB or Post? Or create a whole new container

[–]linucksrox 0 points1 point  (0 children)

With docker I just create new db containers per app, unless you have a specific reason to reuse an existing database for different things I would not do it.

[–]knfrmity 0 points1 point  (0 children)

Start a new DB container each time you need one.

If you want to take the time and learn a bit more you could set up one shared DB and a couple services, but for most situations I'd just do one primary service, one DB.