# Deploy Lemmy with Easypanel

URL: /templates/lemmy

Lemmy is a federated (ActivityPub) link aggregator and discussion platform, similar to Reddit. This template runs the full stack - the Lemmy backend, the official web UI, Postgres, pictrs for image hosting, and an nginx gateway that routes API/federation traffic to the backend and everything else to the UI, matching Lemmy's official deployment architecture.

## Installation notes

The first account you register becomes the instance admin automatically. Federation requires the domain to be publicly reachable over HTTPS and cannot be changed after launch without breaking federation, so confirm the domain before inviting other users. Uploaded images are stored on a persistent volume via pictrs.

## Benefits

### Federated

Connects to the wider Fediverse via ActivityPub

### Reddit-Style Communities

Communities, upvotes, nested comments, and moderation tools

### Lightweight

Written in Rust, low resource footprint for a social platform

### Open Source

Free and open-source, no ads or tracking

## Features

### Image Hosting

Built-in pict-rs service for uploaded images and avatars

### Moderation Tools

Community and instance-level moderation, reports, and bans

### Multiple Sort Modes

Hot, new, top, and active sorting for posts and comments

### Dark/Light Themes

Several built-in UI themes

## Configuration

- `appServiceName` (App Service Name, required): lemmy

- `publicDomain` (Public Domain, required): Set during installation — The exact domain this instance will be reachable at (e.g. lemmy.example.com). Federation uses this as the instance's permanent identity and it cannot be changed later without breaking federation, so point your DNS here and set the matching domain on this service after deploying.

- `backendImage` (Lemmy Backend Image, required): dessalines/lemmy:0.19.20

- `uiImage` (Lemmy UI Image, required): dessalines/lemmy-ui:0.19.20

- `pictrsImage` (pict-rs Image, required): asonix/pictrs:0.5

## Services

- lemmy: app (nginx:1.27-alpine)

- lemmy-backend: app (dessalines/lemmy:0.19.20)

- lemmy-ui: app (dessalines/lemmy-ui:0.19.20)

- lemmy-pictrs: app (asonix/pictrs:0.5)

- lemmy-db: postgres

## Resources

- [Website](https://join-lemmy.org)

- [Documentation](https://join-lemmy.org/docs/administration/administration.html)

- [GitHub](https://github.com/LemmyNet/lemmy)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/lemmy)