Lemmy

Lemmy - A federated alternative to Reddit

1235
Default Port
3
Services
23.5/20
Complexity
Medium
Memory Usage
Configuration

Installation Command

blastdock init lemmy

Template Overview

Everything you need to deploy Lemmy with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Lemmy
dessalines/lemmy:latest
Lemmy-ui
dessalines/lemmy-ui:latest
Postgres
postgres:14
Categories
Database
Security Features
Password Protection, Admin User
Resource Requirements
CPU: Medium, Memory: Medium , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Lemmy up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Lemmy with:

Terminal
blastdock init lemmy

Interactive mode:

Terminal
blastdock init lemmy -i

What's Included

Lemmy
Container service
Lemmy-ui
Container service
Postgres
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Lemmy installation with these configuration options.

7
Required Fields
0
Optional Fields
2
Auto-Generated Passwords

Ui Port

UI port

port
Default: 1235
Required: Yes

Backend Port

Backend port

port
Default: 8536
Required: Yes

Db Password

Database password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Admin Username

Admin username

string
Default: admin
Required: Yes

Admin Password

Admin password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Admin Email

Admin email

string
Required: Yes

Domain

Domain name

domain
Default: localhost
Required: Yes

Docker Compose

Complete Docker Compose configuration for Lemmy deployment.

3
Services
2
Volumes
1
Networks
2
Exposed Ports
docker-compose.yml
version: '3.8'

services:
  postgres:
    image: postgres:14
    container_name: {{ project_name }}_postgres
    restart: unless-stopped
    environment:
      0: POSTGRES_PASSWORD={{ db_password }}
      1: POSTGRES_USER=lemmy
      2: POSTGRES_DB=lemmy
    volumes:
      - /var/lib/postgresql/data
    networks:
      - lemmy_network

  lemmy:
    image: dessalines/lemmy:latest
    container_name: {{ project_name }}_lemmy
    restart: unless-stopped
    depends_on:
      - postgres
    ports:
      - "8536"
    environment:
      0: RUST_LOG=warn
      1: RUST_BACKTRACE=1
      - LEMMY_DATABASE_URL=postgres: //lemmy:{{ db_password }}@postgres:5432/lemmy
      2: LEMMY_HOSTNAME={{ domain }}
      3: LEMMY_BIND=0.0.0.0
      4: LEMMY_PORT=8536
      5: LEMMY_SETUP_ADMIN_USERNAME={{ admin_username }}
      6: LEMMY_SETUP_ADMIN_PASSWORD={{ admin_password }}
      7: LEMMY_SETUP_ADMIN_EMAIL={{ admin_email }}
    volumes:
      - /pictures
    networks:
      - lemmy_network

  lemmy-ui:
    image: dessalines/lemmy-ui:latest
    container_name: {{ project_name }}_lemmy_ui
    restart: unless-stopped
    depends_on:
      - lemmy
    ports:
      - "1234"
    environment:
      - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy: 8536
      - LEMMY_UI_LEMMY_EXTERNAL_HOST={{ domain }}: {{ backend_port }}
      0: LEMMY_UI_HTTPS=false
    networks:
      - lemmy_network

volumes:
  postgres_data:
    driver: local

  lemmy_pictures:
    driver: local

networks:
  lemmy_network:
    driver: bridge