Self-hosting guide

Run c-note on infrastructure you control.

Deploy on a Linux host, VM, or Proxmox/LXC environment. Keep your Markdown files, accounts, backups, and collaboration on your own infrastructure.

Recommended: use the installer on a fresh Linux host. It creates safe localhost defaults, starts Docker Compose, waits for health, and preserves existing data when rerun.

1. Requirements

2. Fast install

Download and run the repeatable installer:

curl -fsSL https://build.c-note.dev/install.sh -o install.sh && chmod +x install.sh && ./install.sh

Choose another location or ref with CNOTE_INSTALL_DIR=/srv/c-note CNOTE_REF=main ./install.sh.

3. Configure the server

For a manual Compose setup, copy .env.example, set APP_ORIGIN to the exact HTTPS origin, set COOKIE_SECURE=true, then run docker compose up -d --build. Check health at /api/v1/health.

4. Reverse proxy

Keep port 3000 private, proxy to 127.0.0.1:3000, pass the original host and HTTPS scheme, and preserve WebSocket upgrade headers with a long read timeout.

5. First login and upgrades

  1. Open the exact origin configured in APP_ORIGIN.
  2. Use the bootstrap credentials admin / c-note.
  3. Change the password immediately on first login.
  4. Rerun the installer or Compose build to upgrade; the existing environment and data are preserved.

6. Downloads

Desktop clients connect to the same server origin through the shared c-note protocol.

Server installerDesktop installersWindows installer