lemmy

by ananace

Helm chartv0.6.16App 0.19.21Verified publisher

A link aggregator and forum for the fediverse

About this chart

Lemmy

Lemmy is an ActivityPub-powered link aggregator for the federated web, provided by default with a UI that's similar to services like Digg/HackerNews/Reddit/etc

Installing

A minimal Lemmy install could look something like;

helm install lemmy ananace-charts/lemmy --set serverName=lemmy.example.com

This will set up a full Lemmy install, with backend, frontend (using lemmy-ui), nginx-based routing proxy, pict-rs media storage, and postgresql server.
Note that this will require a working ingress in your cluster, if an ingress isn't available you can also deploy the proxy as a LoadBalancer/NodePort service in order to try the system out.

Nota Bene: The system will require valid TLS certificates and working routing on regular HTTP(s) ports in order for federation to work.

The initial postgres migration also currently fails unless the Lemmy user in Postgres is a superuser.

S3 storage is also supported for media, refer to the values under .pictrs.storage for the necessary configuration.

Deploy lemmy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has lemmy on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlemmy is pinned at v0.6.16 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply