Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mudeth, to selfhosted in Adding services to an existing Docker nginx container

This is promising, thanks!

mudeth, to selfhosted in Adding services to an existing Docker nginx container

That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it.

mudeth, to selfhosted in Adding services to an existing Docker nginx container

Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).

Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.

mudeth, to selfhosted in Adding services to an existing Docker nginx container

Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).

I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.

mudeth, to selfhosted in Adding services to an existing Docker nginx container

Thank you. Yes makes sense. I guess it’s fairly obvious in hindsight.

mudeth, to selfhosted in Adding services to an existing Docker nginx container

Yes, that’s exactly what I’m doing now, I was only unsure about how to map the remaining services - in the same docker containers, or in new ones.

mudeth, to asklemmy in What would happen if we put a giant glass tinted dome over each city?

My friend made a podcast episode exploring this idea in detail: m.youtube.com/watch?v=xj5r6HLGfcM

Disclaimer: I edited it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #