Favicon of Lemmy

Lemmy

Participate in decentralized communities with threaded comments and upvotes. Enjoy an ad-free, open-source platform with no tracking and full user control.

Discover a truly free discussion platform where you choose which communities to join and what content to see. Built as an open-source alternative to corporate social media, this platform puts you in full control of your feed using extensive blocking and filtering tools. There are no secret algorithms, no advertising, and absolutely no user tracking.

Enjoy a familiar experience with upvotes, downvotes, and threaded comments that help the most interesting discussions rise to the top. You can access your communities from anywhere using more than a dozen apps available for iOS, Android, Desktop, and Web.

Key features include:

  • Decentralized network: Connect to independent servers or easily host your own using Docker.
  • Transparent moderation: View all moderation actions in a public log to ensure fairness.
  • Rich media support: Use integrated image uploading, emojis, and user tagging.
  • Privacy focused: Fully erase your data at any time.

Directory Structure

lemmy
volumes
pictrs
postgres
.env
docker-compose.yml
lemmy.hjson
nginx.conf

docker-compose.yml

services:
  proxy:
    image: nginx:1-alpine
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
    restart: always
    depends_on:
      - lemmy-ui
      - lemmy

  lemmy:
    image: dessalines/lemmy:0.19.5
    hostname: lemmy
    restart: always
    environment:
      - RUST_LOG=warn
    volumes:
      - ./lemmy.hjson:/config/config.hjson
    depends_on:
      - postgres
      - pictrs

  lemmy-ui:
    image: dessalines/lemmy-ui:0.19.5
    environment:
      - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
      - LEMMY_UI_LEMMY_EXTERNAL_HOST=${LEMMY_DOMAIN}
      - LEMMY_UI_HTTPS=true
    depends_on:
      - lemmy
    restart: always

  pictrs:
    image: asonix/pictrs:0.5.10
    user: 991:991
    volumes:
      - ./volumes/pictrs:/mnt
    restart: always

  postgres:
    image: postgres:15-alpine
    environment:
      - POSTGRES_USER=${POSTGRES_USER}
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_DB=${POSTGRES_DB}
    volumes:
      - ./volumes/postgres:/var/lib/postgresql/data
    restart: always

.env

LEMMY_DOMAIN=your-instance.com
POSTGRES_USER=lemmy
POSTGRES_PASSWORD=your_secure_db_password
POSTGRES_DB=lemmy

Share:

Ad
Favicon

 

  
 

Similar to Lemmy

Favicon

 

  
  
Favicon

 

  
  
Favicon