Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Thanks for your answer! Ok, so maybe I didn't quite understood how Docker handles things. I wanted to split the DB declaration into a separate container because, by doing this, I'd be reusing the same mysql service/installation between the multiple WordPress containers. Am I wrong? As I'm running everything in a VPS, reusing the same mysql installation seems to be ideal for the good resource management, right? If I keep the db config the way it is, that is, coupling a WordPress blog + a db service declaration, wouldn't that be heavier into the VPS, consuming more RAM and CPU? Commented Oct 25, 2019 at 11:14