hedgedoc

1.12.0-ls208

HedgeDoc gives you access to all your files wherever you are. HedgeDoc is a real-time, multi-platform collaborative markdown note editor. This means that you can write notes with other people on your desktop, tablet or even on the phone. You can sign-in via multiple auth providers like Facebook, Twitter, GitHub and many more on the homepage.

docker pull lscr.io/linuxserver/hedgedoc:latest

Quick start

Generated from the image's own configuration. Replace the /path/to folders with real paths on your host.

---
services:
  hedgedoc:
    image: lscr.io/linuxserver/hedgedoc:latest
    container_name: hedgedoc
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - DB_HOST=<hostname or ip>
      - DB_PORT=3306
      - DB_USER=hedgedoc
      - DB_PASS=<secret password>
      - DB_NAME=hedgedoc
      - CMD_DOMAIN=localhost
      - CMD_URL_ADDPORT=false # optional
      - CMD_PROTOCOL_USESSL=false # optional
      - CMD_PORT=3000 # optional
      - CMD_ALLOW_ORIGIN=['localhost'] # optional
      - CMD_DB_DIALECT= # optional
    volumes:
      - /path/to/hedgedoc/config:/config
    ports:
      - 3000:3000
    restart: unless-stopped

Parameters

Ports
PortFunctionRequired
3000:3000Web gui port (internal port also needs to be changed if accessing at port other than 80, 443 and 3000).required
Environment variables
VariableFunctionRequired
PUID=1000User IDrequired
PGID=1000Group IDrequired
TZ=Etc/UTCTimezonerequired
DB_HOST=<hostname or ip>Host address of mariadb databaserequired
DB_PORT=3306Port to access mariadb database default is 3306required
DB_USER=hedgedocDatabase userrequired
DB_PASS=<secret password>Database passwordrequired
DB_NAME=hedgedocDatabase namerequired
CMD_DOMAIN=localhostThe address the gui will be accessed at (ie. `192.168.1.1` or `hedgedoc.domain.com`).required
CMD_URL_ADDPORT=falseSet to `true` if using a port other than `80` or `443`.optional
CMD_PROTOCOL_USESSL=falseSet to `true` if accessing over https via reverse proxy.optional
CMD_PORT=3000If you wish to access hedgedoc at a port different than 80, 443 or 3000, you need to set this to that port (ie. `CMD_PORT=5000`) and change the port mapping accordingly (5000:5000).optional
CMD_ALLOW_ORIGIN=['localhost']Comma-separated list of allowed hostnamesoptional
CMD_DB_DIALECT=This variable allows selecting a database engine (if DB_HOST not set up). Available options are: `mariadb`, `mysql`, `postgres`, `sqlite`.optional
Volumes
PathFunctionRequired
/configPersistent config filesrequired

Architectures

Pulling :latest picks the right one for your host automatically.

  • x86_64amd64-latest
  • arm64arm64v8-latest

Tags

  • :latestStable releases

Changelog

  1. Rebase to Alpine 3.24.

  2. Rebase to Alpine 3.22.

  3. Add missing icu-data-full to fix bug with TextDecoder and image uploads.

Related

Browse all

obsidian

v1.14.4-ls149

Obsidian is a note-taking app that lets you create, link, and organize your notes on your device, with hundreds of plugins and themes to customize your workflow. You can also publish your notes online, access them offline, and sync them securely with end-to-end encryption.

2M pulls per month916 GitHub starsarm64

bookstack

v26.09.2-ls292

bookstack is a free and open source Wiki designed for creating beautiful documentation. Featuring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease. Powered by SQL and including a Markdown editor for those who prefer it, BookStack is geared towards making documentation more of a pleasure than a chore. For more information on BookStack visit their website and check it out: https://www.bookstackapp.com

1.7M pulls per month1K GitHub starsarm64

dokuwiki

2026-07-14c-ls330

dokuwiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki.

139K pulls per month125 GitHub starsarm64

wikijs

v2.5.316-ls226

wikijs A modern, lightweight and powerful wiki app built on NodeJS.

89.1K pulls per month101 GitHub starsarm64