Hello. As I’ve mentioned on my presentation post, I’m planning to host an instance of LemmyBB, and although I won’t start the actual installation until all the holidays have ended, I’m already in the planning stage, and many questions are already popping out :

  1. I would have preferred to not use docker (i hate it), but seeing that the manual installation of the Lemmy backend is heavily discouraged, I’ll get used to the idea. But as I don’t have many experience using docker, some questions arise as I read the installation manual:
  • “mkdir /srv/lemmybb” Does this implies that all the data inside the docker image will be stored on this folder? I always install Linux with separate system/data partitions, so I need to know this. I’m ok with using the /srv folder.
  • Is the database inside the docker image? Can it be configured to use any PostreSQL? I may install more services in this server, and I don’t like the idea of having many databases engines running on it, I’ll prefer only one centralized DB.
  1. If I’m understanding correctly, the docker image exposes the service on http://127.0.0.1:8701/, and then is reverse-proxied to the outside world. Can this reverse proxy be carried with Apache? I’ve never used nginx, however I have lots of experience with Apache, including reverse proxies, so I would prefer to stick with what I know. I can build a configuration for it based on the config file for nginx, no problem on this, but I need to know if the actual software will tolerate this or fail spectacularly

  2. System and bandwidth requirements? I’ll be using a bare metal server, and industrial PC with an Atom D510, 4GB of ram and 128 GB of total disk space. The connection is going to be my home connection, trough my home router

Thanks for the help.

  • Tealk
    link
    fedilink
    1
    edit-2
    1 year ago

    Where did you read the command mkdir /srv/lemmybb?

    Is the database inside the docker image?

    Yes and no The database is running in a Docker container, but the database files are located outside the container volumes/postgres

    yes it is possible to do the reverse proxy with apache but as far as I know nginx is more performant and easier to set up

    the hardware requirements depend on what you want to achieve, an instance with 10k users? then neither the hardware nor the bandwidth will be sufficient.

    Which question has now had to do with lemmybb, it was here only about lemmy backend

    • @enrique@fedibb.mlOP
      link
      fedilink
      11 year ago

      Where did you read the command mkdir /srv/lemmybb?

      Here: https://github.com/LemmyNet/lemmyBB#installation

      Yes and no The database is running in a Docker container, but the database files are located outside the container volumes/postgres

      Understood. The question is, can this instance of Postgres be accesed from another application? I’ll investigate further.

      yes it is possible to do the reverse proxy with apache but as far as I know nginx is more performant and easier to set up

      As I said, I have zero experience with Nginx, and lots of experience with Apache. As exposing a service to the internet can be dangerous, I’m more comfortable with my knowledge about securing Apache.

      the hardware requirements depend on what you want to achieve, an instance with 10k users? then neither the hardware nor the bandwidth will be sufficient.

      I have no goal in mind, if in the future it grows a lot, I can always migrate to a bigger setup. My concern is not meeting even the bare minimum.

      Which question has now had to do with lemmybb, it was here only about lemmy backend

      Sorry, I’m not sure what you are trying to convey here.

      • Tealk
        link
        fedilink
        11 year ago

        Here: https://github.com/LemmyNet/lemmyBB#installation

        ah ok, you can create the directory where you want because it is only about the directory where all the data and the database is stored.

        The question is, can this instance of Postgres be accesed from another application? I’ll investigate further.

        I can’t tell you, I don’t know enough about docker to give you a valid answer.

        As I said, I have zero experience with Nginx …

        as @nutomic@fedibb.ml said, there is no apache configuration currently available as a template, you would have to create one yourself