Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A real-time collaborative Markdown editor: several people edit the same note in the browser at once, and notes can be published as read-only pages or presented as slides. Formerly known as CodiMD.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (138 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# HedgeDoc 1.x + PostgreSQL — upstream's docker-compose example, with generated secrets
mkdir -p ~/hedgedoc && cd ~/hedgedoc
cat > .env <<EOF
POSTGRES_PASSWORD=$(openssl rand -hex 24)
CMD_SESSION_SECRET=$(openssl rand -hex 32)
EOF
# postgres 18+ refuses the older /var/lib/postgresql/data mount that upstream's example still shows, so the volume goes on /var/lib/postgresql
cat > docker-compose.yml <<'EOF'
services:
database:
image: postgres:18.6-alpine
environment: { POSTGRES_USER: hedgedoc, POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}", POSTGRES_DB: hedgedoc }
volumes: ["database:/var/lib/postgresql"]
restart: always
app:
image: quay.io/hedgedoc/hedgedoc:1.12.0
environment:
CMD_DB_URL: "postgres://hedgedoc:${POSTGRES_PASSWORD}@database:5432/hedgedoc"
CMD_SESSION_SECRET: "${CMD_SESSION_SECRET}"
CMD_DOMAIN: SERVER_IP
CMD_URL_ADDPORT: "true"
volumes: ["uploads:/hedgedoc/public/uploads"]
ports: ["3000:3000"]
restart: always
depends_on: [database]
volumes: { database: {}, uploads: {} }
EOF
docker compose up -d # → http://SERVER_IP:3000
# behind a TLS proxy set CMD_DOMAIN to your domain, CMD_PROTOCOL_USESSL=true and drop CMD_URL_ADDPORTHedgeDoc used 138 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 512 MB.
The HedgeDoc install snippet is marked verified on Ubuntu 26.04 (Nov 2026).