i love selfhosting :3

  • Natanox@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    15 hours ago

    Security is the first thing that comes to mind. Compartmentalization prevents or at least makes it considerably harder for compromised services to screw up all the others.

    Another thing would be that it might be easier to manage backups and snapshots.

    • jimerson@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      13 hours ago

      From my understanding, it’s helpful that each VM will have its own IP so ports can be opened only on specific VMs, increasing overall security.

      • kureta@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 minutes ago

        Am I doing something wrong. All my services are grouped in docker compose files. Containers that have to communicate internally - a server and it’s db for example - are on their own private docker network. A reverse proxy has its ports 80 and 443 open and it is on an external docker network. Services that I need to access from the outside are on this network and they do not have any ports open. Except for the torrent client, which has a UDP port open.