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.

  • enrique@fedibb.mlOP
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Hi again!

    After the long holidays, here I am again

    My server is starting to take shape. Apache is already working, the 2 needed hostnames are online, and the certificates are configured (certbot). PostgreSQL is also already working correctly. This week I’ll attempt installing Lemmy and then LemmyBB, but I’m already having some doubts about the configuration of Lemmy, in particular here:

    the domain name of your instance (mandatory)
    hostname: “unset”
    Address where lemmy should listen for incoming requests
    bind: “0.0.0.0”
    Port where lemmy should listen for incoming requests
    port: 8536
    Whether the site is available over TLS. Needs to be true for federation to work.
    tls_enabled: true

    For the hostname, I’m assuming it’s the public FQDN.
    The bind can be 127.0.01, as Apache will reverse proxy it?
    Port is clear.
    As the reverse proxy (Apache) is the one who is going to be handling the actual TLS, should TLS be enabled here? As I don’t see any way of configuring the certificate into Lemmy, is this a way of telling Lemmy that the reverse has TLS enabled? If Lemmy needs the actual certificate (how?), can it be pointed to the same key file that certbot generates for Apache, so as to simplify it’s renewal?

    Many thanks!!