Hostinger Black Friday deal: VPS hosting up to 70% off
Ad

Try describing what you need:

HedgeDoc logo

HedgeDoc

★ 7.5k

A self-hosted alternative to Notion, Google Docs

GNU Affero General Public License v3.0Open Source — No Paywall4 Containers — 4 containers — moderate hosting footprintSourceNeeds Postgres10+ active committers (12mo)

About

HedgeDoc is a collaborative markdown note-taking application designed for teams and communities that want to write and edit notes together in real time. The README presents HedgeDoc 2 as an...

Community Ratings

No ratings yet

Features

  • real-time collaborative markdown notes
  • demo instance
  • alpha demo
  • development environment setup

Details

Last Updated
Nov 26, 2026
Created
Mar 27, 2019
Install Methods
source
Runtime / Stack
DockerNodejs
Privacy & Independence
No Cloud Required
User Model
Multi-User
Deployment

Deployment: Docker Compose ✓4 Containers — moderate hosting footprintRuns as 4 containers

Run HedgeDoc yourself

Pick how much you want to manage.

7 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Run HedgeDoc with Docker Compose

Compose file from the HedgeDoc project repository.

4 services · database: postgres · infra: postgres, caddy

no resource limits declared

needs persistent storage (5 volumes)

docs/content/files/setup-docker/docker-compose.yml · @ 6e90dd3 · scanned Nov 3, 2026

services:
  backend:
    image: ghcr.io/hedgedoc/hedgedoc/backend:2.0.0-alpha.3
    volumes:
      - $PWD/.env:/usr/src/app/backend/.env
      - hedgedoc_uploads:/usr/src/app/backend/uploads

  frontend:
    image: ghcr.io/hedgedoc/hedgedoc/frontend:2.0.0-alpha.3
    environment:
      HD_BASE_URL: "${HD_BASE_URL}"
      HD_INTERNAL_API_URL: http://backend:3000
      HOSTNAME: "0.0.0.0"

  db:
    image: postgres:16
    environment:
      POSTGRES_USER: "${HD_DATABASE_USERNAME}"
      POSTGRES_PASSWORD: "${HD_DATABASE_PASSWORD}"
      POSTGRES_DB: "${HD_DATABASE_NAME}"
    volumes:
      - hedgedoc_postgres:/var/lib/postgresql/data

  proxy:
    image: caddy:latest
    restart: unless-stopped
    environment:
      HD_BASE_URL: "${HD_BASE_URL}"
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - $PWD/Caddyfile:/etc/caddy/Caddyfile
      - caddy_data:/data

volumes:
  caddy_data:
  hedgedoc_uploads:
  hedgedoc_postgres:

This file may be out of date. Check the HedgeDoc documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Mar 25, 2026

Alternatives to HedgeDoc

Many Notes logo

Many Notes

1.1k
Many Notes is a Markdown note-taking web application for creating, importing, organizing, and sharing vault-based notes.
Note Taking AppsWikisKnowledge Management+2
Details
Docs logo

Docs

17.0k
An open-source collaborative text editor for teams to write, organize, and share knowledge in real time.
Note Taking AppsKnowledge ManagementWikis+3
Details
docmost logo

docmost

22.4k
Open-source collaborative wiki and documentation software.
WikisKnowledge ManagementDocument Management+5
3 ContainersOpen CoreFOSS with Issues
Details
plumio logo

plumio

141
plumio is a self-hosted markdown editor with live preview, document encryption, and multi-user, multi-organization support.
Note Taking AppsDocument ManagementKnowledge Management+1
Single Container
Details
AFFiNE Community Edition logo

AFFiNE Community Edition

79.0k
AFFiNE is an open-source, local-first workspace for writing, drawing, planning, and knowledge management, positioned as an alternative to Notion and Miro.
Knowledge ManagementPermissive LicenseCopyleft License+6
4 ContainersFOSS with Issues
Details
Digipad logo

Digipad

7
Online application for creating collaborative digital notepads (documentation in French).
Groupware SuitesNote Taking AppsKnowledge Management+2
Details
AppFlowy logo

AppFlowy

79.6k
AppFlowy is an open-source AI workspace and Notion alternative for notes, databases, collaboration, and building custom productivity apps.
Task ManagementCopyleft LicenseFOSS with Issues+6
Single ContainerFOSS with Issues
Details
NoteDiscovery logo

NoteDiscovery

2.9k
Markdown note-taking app with plain-file storage, graph view, and MCP integration (alternative to Obsidian, Notion).
Note Taking AppsKnowledge Management
Details
Etherpad logo

Etherpad

18.6k
Etherpad is a real-time collaborative web editor for creating and editing shared pads.
Office SuitesNote Taking AppsDocument Management+2
Details
Logseq logo

Logseq

45.7k
Logseq is an open-source knowledge management and collaboration platform for notes, tasks, PDF annotation, and organizing information.
Fully FOSSKnowledge ManagementNote Taking Apps+1
Fully FOSS
Details

Related Software

CryptPad logo

CryptPad

8.1k
CryptPad is an end-to-end encrypted collaboration suite for real-time editing of documents and other team content.
Office SuitesGroupware SuitesDocument Management+2
Details
AFFiNE logo

AFFiNE

79.0k
AFFiNE is an open-source, local-first workspace for writing, drawing, planning, and knowledge management, positioned as an alternative to Notion and Miro.
Note Taking AppsPermissive LicenseKnowledge Management+4
4 ContainersFOSS with Issues
Details
Digimindmap logo

Digimindmap

3
Create simple mindmaps (documentation in French).
Knowledge ManagementDiagramming ToolsSelf Hosting Solutions+1
Details
flatnotes logo

flatnotes

3.3k
A self-hosted, database-less note-taking web app that stores notes as markdown files in a flat folder.
Note Taking AppsWikisKnowledge Management+3
Details
Feather Wiki logo

Feather Wiki

98
Lightning fast and infinitely extensible tool for creating personal non-linear notebooks, databases, and wikis that is entirely self-contained, runs in your browser, and is only 58 kilobytes in size.
WikisCopyleft LicenseNote Taking Apps+3
Fully FOSS
Details
Note Mark logo

Note Mark

781
Note Mark is a web-based Markdown notes app with a minimal, responsive UI.
Note Taking AppsKnowledge ManagementSelf Hosting Solutions+1
Details
Memos logo

Memos

64.7k
Memos is an open-source, self-hosted note-taking tool for quick capture.
Note Taking AppsKnowledge ManagementBlogging Platforms+2
Single Container
Details