For years I’ve been running my Nextcloud on bare metal. Now I finally decided to switch it to docker. I looked into Nextcloud All-In-One and it seems easy to deploy but it lacks configuration options like multiple domain names and putting it behind a traefik reverse proxy is kind of a pain to set up.

You can check out my solution on GitHub. I decided on a docker compose setup with nginx, php-fpm and redis(redis is now replaced by KeyDB) in separate containers. Obviously it’s for experts but it’s a lot more configurable. than AIO. It’s also just as easy to migrate to as with any bare metal setup and just as configurable.Yes it’s still a pain to set up, but better than the bare metal version lol

What do you guys think about putting the different components (webserver, php, redis, etc.) in separate containers like this, as compared to all in one? Feedback is greatly appreciated!

    • @[email protected]
      link
      fedilink
      English
      3
      edit-2
      8 months ago

      Aye. Docker on linux doesn’t involve any virtualization layer. What should the direct the installation setup be called? Custom setup?

    • @[email protected]
      link
      fedilink
      English
      38 months ago

      Well, since we want to be technical … Docker is not bare metal. Linux apps are not bare metal. Arduino is bare metal.

        • @[email protected]
          link
          fedilink
          English
          38 months ago

          That’s only the meaning you’re used to, and that’s my point. It depends on the context. I can assure you that, in the context of microcontrollers, for example, “bare metal” means running without an OS.

            • @[email protected]
              link
              fedilink
              English
              28 months ago

              My point is, since its meaning depends on the context, I don’t see the issue for it to mean, in the context of containers, “outside of a container”. Just like in the case of VMs, or OS vs No OS, it means there’s one fewer layer between the app and the hardware, whether that’s a VM, Container runtime, or the OS.

              I’m pretty sure everybody, including you, understood its meaning in this context, it didn’t really cause any misunderstanding.

              • @[email protected]
                link
                fedilink
                English
                18 months ago

                No, it’s confusing. Because some people do use VMs. So it makes it far less clear about what a person’s setup is.

                An application running in a container runs exactly the same as a non-container application. It uses the same kernel. And it all runs directly on the CPU. There is no metal/non-metal distinction to make. People just say it because it “sounds cool”. And there are a lot of people in this community who don’t understand what containers are. So it further muddies the water