Hi, I want to host a private Lemmy server under example.com mostly to be used without association (federation) with other Lemmy servers - this is due to the nature of the Lemmy server. It is going to be used only by people from a specific country, so in its initial phase, I am pretty sure these people won’t care about any other servers not in this country’s language. Anyway, that’s besides the point.
The thing is I already have a Hetzner instance where I have set up an NGINX server hosting a couple of PHP websites - Wordpress and Mybb forum using mariaDB database and php 8.1.
The instance is running Ubuntu 24.04.1 LTS - which method of installing Lemmy would make sense? Docker, Ansible, or from scratch, as it is documented here https://join-lemmy.org/docs/administration/install_docker.html ?
I just do not want to disturb my currently installed websites on this server.
Any recommendations?
It just comes down to personal preference.
We run ours using the Docker “method”, but I sort of wish we had gone the Ansible route. What we have works, but the documentation isn’t up to snuff. To do things in Docker (without ansible) you basically still have to reference the Ansible repo and use their lemmy.hjson and their Docker Compose, but they have lots of environmental variables that you have to change yourself instead of Ansible doing it.
Even the “Docker” instructions point you to ansible except for the docker-compose.yml, but you should probably still reference the ansible docker-compose.yml to get an idea for what options there are.
I do enjoy just using my normal workflow, which is using Dockge/Portainer as much as possible, but it’s a bit of work trying to figure out what Lemmy wants.