Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A Reddit-style link aggregator and discussion forum: users subscribe to communities, post links and discussions, vote and comment. Lemmy instances federate over ActivityPub, so communities can be followed from other Lemmy servers and other Fediverse software.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (250 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Lemmy — upstream's Docker install (join-lemmy.org/docs/administration/install_docker.html)
mkdir -p ~/lemmy && cd ~/lemmy
wget -q https://raw.githubusercontent.com/LemmyNet/lemmy-docs/main/assets/docker-compose.yml
wget -q https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/examples/config.hjson -O lemmy.hjson
wget -q https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx_internal.conf
wget -q https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/files/proxy_params
wget -q https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/examples/customPostgresql.conf
# your domain can't change once the instance federates; the same random value is used for the DB password and the pict-rs API key
PGPASS=$(openssl rand -hex 24)
sed -i "s/{{ domain }}/lemmy.example.com/g; s/{{ postgres_password }}/$PGPASS/g" docker-compose.yml lemmy.hjson
sed -i 's/{{ nginx_internal_resolver }}/127.0.0.11/' nginx_internal.conf
# nginx_internal.conf is an Ansible (Jinja) template: keep the non-Anubis branch or nginx refuses to start
perl -0pi -e 's/\{% if anubis.*?%\}\n.*?(?:\{% else %\}\n(.*?))?\{% endif %\}\n/$1/gs' nginx_internal.conf
mkdir -p volumes/pictrs && sudo chown -R 991:991 volumes/pictrs
docker compose up -d # → http://SERVER_IP:10633
# the first visit shows the instance setup form, where you create the admin account; put a TLS reverse proxy in front before federatingLemmy used 250 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.8.1 (first boot, measured Sep 2026). We list a minimum of 1024 MB.
The Lemmy install snippet is marked verified on Ubuntu 26.04 (Sep 2026).