Information for Lemmy instance admins, and those who want to run a server.
If you have any problems in the installation, you can ask for help in !lemmy_support. Do not use Github for support.
Lemmy has two primary installation methods:
We recommend using Ansible, because it simplifies the installation and also makes updating easier.
Lemmy uses roughly 150 MB of RAM in the default Docker installation. CPU usage is negligible.
⚠️ Under your own risk.
In some cases, it might be necessary to use different installation methods.
- From Scratch
- YunoHost (source code)
- On Amazon Web Services (AWS)
- Nomad (see this external repo for examples)
An Example Caddy configuration.
Lemmy-ui is the main frontend for Lemmy. It consists of an expressjs based server-side process (necessary for SSR) and client code which run in the browser. It does not use a lot of resources and will happily run on quite low powered servers.
Lemmy_server is the backend process, which handles:
- Incoming HTTP requests (both from Lemmy clients and incoming federation from other servers)
- Outgoing federation
- Scheduled tasks (most notably, constant hot rank calculations, which keep the front page fresh)
Pict-rs is a service which does image processing. It handles user-uploaded images as well as downloading thumbnails for external images.