selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

HedgeDoc logo

HedgeDoc

★ 7.5k

A self-hosted alternative to Notion

GNU Affero General Public License v3.0Open Source — No Paywall4 Containers — 4 containers — moderate hosting footprintSourceNeeds Postgres9+ 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
Oct 10, 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 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 Sep 4, 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

Related Software

TriliumNext Notes logo

TriliumNext Notes

38.3k
Trilium Notes is a free, open-source hierarchical note-taking application for building large personal knowledge bases.
Note Taking AppsCopyleft LicenseKnowledge Management+3
Single Container
Details
Livebook logo

Livebook

5.9k
Livebook is a web application for interactive and collaborative Elixir code notebooks.
Note Taking AppsIDE ToolsAutomation Tools+4
4 Containers
Details
AFFiNE logo

AFFiNE

73.4k
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 LicenseFOSS with Issues+4
4 ContainersFOSS with Issues
Details
AFFiNE Community Edition logo

AFFiNE Community Edition

73.4k
AFFiNE is an open-source, local-first workspace for writing, drawing, planning, and knowledge management, positioned as an alternative to Notion and Miro.
Knowledge ManagementFOSS with IssuesOpen-Washing Risk+6
4 ContainersFOSS with Issues
Details
writer-computer logo

writer-computer

1.6k
Fast, lightweight desktop app for working with workspace markdown files.
Note Taking AppsKnowledge ManagementDiagramming Tools
Details
Pastefy logo

Pastefy

459
Pastefy is an open source paste-sharing service and alternative to Gists or Pastebin.
PastebinsPermissive LicenseSelf Hosting Solutions+2
Details
not-th.re logo

not-th.re

16
!3 is a simple paste sharing platform with client-side encryption, Monaco editor support, and file transfers.
PastebinsCopyleft LicenseSelf Hosting Solutions+3
Details
docmost logo

docmost

21.9k
Open-source collaborative wiki and documentation software.
WikisFOSS with IssuesOpen-Washing Risk+5
3 ContainersOpen CoreFOSS with Issues
Details
Gollum logo

Gollum

14.3k
Gollum is a git-based wiki system that lets users edit repository-backed pages in a web interface or with a local editor.
WikisPermissive LicenseDocument Management+3
Details
TeamMapper logo

TeamMapper

509
TeamMapper is a self-hosted collaborative mindmapping app for creating, sharing, and editing mindmaps in teams.
Knowledge ManagementSelf Hosting SolutionsDiagramming Tools+2
Details
Digiboard logo

Digiboard

2
Create collaborative whiteboards (documentation in French).
Miscellaneous ToolsDiagramming ToolsKnowledge Management+3
Details
Digimindmap logo

Digimindmap

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