Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4,365 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lemmy UI

Build Version Size Package Pulls

Docker image of Lemmy UI, a link aggregator and forum for the fediverse.

Features ✨

  • Runs the Lemmy web interface inside Docker
  • Provides the frontend for a Lemmy instance
  • Connects to a separate Lemmy backend
  • Works on both AMD64 and ARM64 systems

Usage 🐳

Docker Compose:
services:
  lemmy-ui:
    image: dockurr/lemmy-ui
    container_name: lemmy-ui
    environment:
      LEMMY_UI_HTTPS: "true"
      LEMMY_UI_LEMMY_INTERNAL_HOST: "lemmy:8536"
      LEMMY_UI_LEMMY_EXTERNAL_HOST: "domain.tld"
    ports:
      - 1234:1234
    restart: always
    stop_grace_period: 1m
Docker CLI:
docker run -it --rm --name lemmy-ui -p 1234:1234 -e "LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536" -e "LEMMY_UI_LEMMY_EXTERNAL_HOST=domain.tld" --stop-timeout 60 docker.io/dockurr/lemmy-ui

Configuration ⚙️

The following environment variables can be used to configure lemmy-ui:

ENV_VAR type default description
LEMMY_UI_HOST string 0.0.0.0:1234 The IP / port that the lemmy-ui isomorphic node server is hosted at.
LEMMY_UI_LEMMY_INTERNAL_HOST string 0.0.0.0:8536 The internal IP / port that lemmy is hosted at. Often lemmy:8536 if using docker.
LEMMY_UI_LEMMY_EXTERNAL_HOST string 0.0.0.0:8536 The external IP / port that lemmy is hosted at. Often DOMAIN.TLD.
LEMMY_UI_HTTPS bool false Whether to use https.
LEMMY_UI_EXTRA_THEMES_FOLDER string ./extra_themes A location for additional lemmy css themes.
LEMMY_UI_DEBUG bool false Loads the Eruda debugging utility.
LEMMY_UI_DISABLE_CSP bool false Disables CSP security headers
LEMMY_UI_CUSTOM_HTML_HEADER string Injects a custom script into <head>.

Stars 🌟

Stargazers

About

The official web app for Lemmy

Topics

Resources

Contributing

Stars

22 stars

Watchers

2 watching

Forks

Packages

Used by

Contributors

Languages