• 1 Post
  • 5 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle

  • I can’t say much to docker in LXC as I’m not using it, I vaguely remember some limitation I’ve read of but if it works fine for you those don’t seem to apply.

    A VM has more overhead than an LXC, but with several LXCs maybe a single VM wins on overhead.

    I currently have most Docker containers in one VM and am thinking about splitting it, the main reason is that 2 deployments have way larger volumes than the rest. This leads to the snapshots of the VM being very large as well and if I would need to restore from snapshots for a “small” application, it would take super long because of the large ones.

    A single VM may be a bit easier on maintenance than several LXCs.

    If you don’t have a specific reason to switch, I would not.





  • You need different Subdomains as you suggested in your first paragraph. And add a reverse proxy like nginx or caddy to the machine which then proxies the different subdomains to the respective services (e.g. lemmy.your.site to localhost:2222, mbin.your.site to localhost:3333).

    Theoretically, you could put a landing page behind some SSO/iam like authentik, and then link to the subdomains from the landing page, but eventually users will need be on the subdomain to use a specific site.