---
title: "HedgeDoc collaborative Markdown editor · CloudSat"
description: "Host HedgeDoc on a CloudSat VPS: real-time collaborative Markdown notes with diagrams, math, slides and per-note permissions, kept on your own server."
url: https://cloudsat.io/apps/deploy-hedgedoc
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Collaboration](https://cloudsat.io/apps/category/team-collaboration)

# HedgeDoc on a VPS

HedgeDoc lets several people write the same Markdown document at once in the browser, with diagrams, math and slide mode. Host it for your team's notes.

[Deploy HedgeDoc](https://dash.cloudsat.io/console/deploy?image=app%3Ahedgedoc&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About HedgeDoc

HedgeDoc, formerly CodiMD, is an AGPL-3.0 editor where everyone with the link types into the same Markdown note in real time. Notes render diagrams, math and code, turn into reveal.js slides, keep a revision history, and carry permissions from freely editable to private.

Meeting notes and drafts are internal by nature, so they fit a server you control. The Docker setup pairs HedgeDoc with PostgreSQL, a 1 GB Cloud VPS handles a small team, and NVMe keeps history and uploads quick.

After deploy, HedgeDoc answers on port 3000; out of the box it allows email sign-up and anonymous notes, which you will likely want to restrict.

## What you get with HedgeDoc

- Live co-editing with per-note permissions
- Diagrams, math and syntax-highlighted code
- Slide mode for presenting a note
- Revision history and image uploads
- Sign-in with LDAP, OAuth2, SAML, GitHub or GitLab

## HedgeDoc use cases

- Meeting minutes written by everyone in the room
- Drafting docs and READMEs together before they reach Git
- Quick talks presented straight from Markdown

## After you deploy HedgeDoc

1. When the server is **Running**, set `CMD_DOMAIN` to your domain, and `CMD_PROTOCOL_USESSL=true` once HTTPS is in place, then restart HedgeDoc.
2. Open the site, register with your email and check that sign-in works over HTTPS.
3. Lock it down: set `CMD_ALLOW_ANONYMOUS=false`, and `CMD_ALLOW_EMAIL_REGISTER=false` after your team has accounts.
4. Create accounts later from the command line with `bin/manage_users`, or connect LDAP or OAuth2.

## HedgeDoc ports

Open these in your firewall if you use one: `3000/tcp HedgeDoc`.

## HedgeDoc FAQ

### Can people edit without an account?

By default, yes: `CMD_ALLOW_ANONYMOUS` is true. Set it to false to require sign-in, or keep it and use note permissions such as `locked` or `private` for sensitive pages.

### How do I back up HedgeDoc?

Dump the PostgreSQL database, for example with `pg_dump`, and copy the uploads folder. A CloudSat snapshot of the whole server is a convenient extra before upgrades.

**Disclaimer.** The HedgeDoc project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like HedgeDoc

[All apps in Collaboration](https://cloudsat.io/apps/category/team-collaboration)

- [Etherpad](https://cloudsat.io/apps/deploy-etherpad): Collaboration Etherpad is an open-source editor where many people type in the same document at once, with author colors, a history timeslider and plugins.
- [Docmost](https://cloudsat.io/apps/deploy-docmost): Collaboration Docmost is an open-source wiki with real-time editing, spaces, permissions, comments, page history and built-in diagrams, hosted on your own server.
- [flatnotes](https://cloudsat.io/apps/deploy-flatnotes): Self-hosted flatnotes is a self-hosted note app that keeps every note as a Markdown file in one folder, with full-text search, tags and wikilinks on top.
- [Excalidraw](https://cloudsat.io/apps/deploy-excalidraw): Self-hosted Excalidraw is an open-source whiteboard with a hand-drawn look. Host your own copy so the editor loads from a domain and server you control.
- [Apache Answer](https://cloudsat.io/apps/deploy-apache-answer): Collaboration Apache Answer runs a question-and-answer site for a community or an internal help center, with voting, tags and reputation, as open-source software on your server.
- [DocuSeal](https://cloudsat.io/apps/deploy-docuseal): Collaboration DocuSeal is an open-source e-signature platform: build fillable PDF forms, send them to one or more signers and collect signed copies, without per-envelope fees.
