Install and run Bemmoly on your own server

Bemmoly is one container next to one Postgres. For almost everyone that means one command on a fresh Linux VM. Free, open source and yours: no subscription, no seat limits, nothing to buy.

The installer pulls the newest stable release, 2.0.0 today: the foundation (setup, people and roles, single sign-on, email, backups and updates), Work, Docs, imports and optional AI. The badges say where each way to run it stands, and the changelog lists every release.

Server sizing

One small server runs it

We load-test Bemmoly with real-sized data and publish what we measure. Bemmoly itself is free; the server is the whole bill.

Recommended Measured

123,449 issues

tested on 2 vCPU, 4 GB RAM, one server from the one-command install

issues: fast at 80 requests a second
31,384
active at once, teams up to ~2,000 Estimate
≈400
a month, from Hetzner
€5.49

Speed at 123,449 issues

95% of requests, server side
  • Open an issue < 75 ms
  • Open a doc page < 75 ms
  • Search 205 ms
  • Page tree 237 ms
  • Big board 383 ms

A full bar is half a second. Issues and doc pages open fastest; search and the biggest board are the slowest parts at this size.

What 2 vCPU, 4 GB costs

list price a month, before tax, checked 2026-10-12

The people figure is an estimate: it assumes each active person makes 0.2 requests a second, against the 80 a second measured with 31,384 issues, and that 20% of a team is active at once, rounded down. There is no people figure for 123,449 issues, because no load ramp was run at that size.

  • 2 vCPU, 2 GB Not yet measured

    No numbers here until this size has been measured.

  • 2 vCPU, 4 GB Measured

    Up to 123,449 issues. At 273,939 it slowed to about 2 seconds.

  • 4 vCPU, 8 GB Not yet measured

    No numbers here until this size has been measured.

Available in 2.0.0 Recommended
  1. Get a Linux VM

    • A Linux VM with at least 1 vCPU and 2 GB of memory, and 10 GB of free disk
    • Ubuntu 22.04+, Debian 12+, Fedora 40+ or Amazon Linux 2023
    • A domain pointing at it, and ports 80 and 443 free

    Root or sudo, and outbound DNS and HTTPS. The installer checks each of these and stops with the fix for anything missing; 2 GB of memory is its minimum.

  2. Run one command

    On the VM, as root or with sudo
    curl -fsSL https://get.bemmoly.com | sh

    It downloads the installer of the newest release from GitHub, checks its SHA-256 checksum and runs it. Options such as --domain go after sh -s --.

  3. Open the address it prints

    Open it to create the first admin, then turn on Work and Docs, as first login describes.

curl -fsSL https://get.bemmoly.com | sh → Detected Ubuntu 24.04, 2 vCPU, 4 GB→ Installing Postgres 18 (pgvector) … done→ Pulling bemmoly:2.0.0 … done→ Requesting certificate for bemmoly.acmelabs.dev … done→ Nightly backup scheduled 02:00 → /var/bemmoly/backups✓ Bemmoly is running at https://bemmoly.acmelabs.dev Open it to create the first admin.
What the installer prints on a fresh VM

Read it before you run it

Download, read, then run
curl -fsSL https://get.bemmoly.com -o install.sh less install.sh sudo sh install.sh --domain work.example.com

Installer options

--domain NAME The hostname people will use. Asked for when you leave it out.
--version X.Y.Z The version to install, or latest or beta. The newest in the channel by default.
--channel stable|beta The update channel. Stable by default.
--modules a,b Pin the enabled modules, such as work,docs. By default an admin chooses.
--no-proxy Leave out Caddy: you terminate HTTPS, and the app listens on port 8080.
--no-in-app-updates Leave out the updater; update with sudo bemmoly upgrade.
--database-url URL Use your own Postgres 18 with pgvector instead of the bundled one.
--dir PATH The install folder. /var/bemmoly by default.
--yes Ask nothing; stop when something is missing.
--refresh-cli Only replace the bemmoly command with this release’s. The app and its settings stay as they are.

Other ways to run it

Each card starts with the situation it is for. The image, the upgrades and the backups are the same on all of them.

  • I already run Docker Compose

    Available in 2.0.0

    Use the Compose file and env template the installer writes. Postgres, the HTTPS proxy and the in-app updater are Compose profiles you can leave out.

    1. Put the files in /var/bemmoly
    git clone --depth 1 --branch v2.0.0 https://github.com/bemmoly/bemmoly sudo install -d -m 755 /var/bemmoly sudo cp bemmoly/deploy/compose/docker-compose.yml bemmoly/deploy/compose/Caddyfile /var/bemmoly/ sudo install -m 600 bemmoly/deploy/compose/env.template /var/bemmoly/.env cd /var/bemmoly sudo install -d -m 750 -o 10001 -g 10001 data backups sudo install -d -m 755 pg sudo install -d -m 700 caddy caddy/data caddy/config
    2. Replace every @…@ placeholder in .env
    sudoedit /var/bemmoly/.env
    3. Start it, once .env is filled in
    cd /var/bemmoly sudo docker compose up -d sudo docker compose ps

    Nothing starts until step 3. The bemmoly command comes only with the one-command install.

    The Docker Compose guide: every setting in .env
  • I have my own Postgres

    Available in 2.0.0

    One flag, and the bundled database is left out. With Compose, set DATABASE_URL in .env and drop db from COMPOSE_PROFILES.

    On the VM, with your database’s address
    curl -fsSL https://get.bemmoly.com | sh -s -- \ --database-url postgres://bemmoly:[email protected]:5432/bemmoly_db

    Postgres 18 with the pgvector extension: the schema changes need both.

  • I run Kubernetes

    Available in 2.0.0

    A Helm chart that runs the same image, with Postgres in the chart for a small team or against your own Postgres 18 with pgvector.

    1. Download the chart
    curl -fsSLO https://github.com/bemmoly/bemmoly/releases/download/v2.0.0/bemmoly-2.0.0.tgz
    2. Install it, then open your address to create the first admin
    helm install bemmoly bemmoly-2.0.0.tgz --namespace bemmoly --create-namespace \ --set postgresql.enabled=true \ --set publicUrl=https://bemmoly.example.com \ --set ingress.enabled=true --set ingress.host=bemmoly.example.com

    Live editing needs one replica. For your own Postgres, set externalDatabase.url instead of postgresql.enabled.

    Every chart value
  • I want managed infrastructure

    Available in 2.0.0

    Terraform modules that create one VM and run the installer on it, with examples for the big clouds and smaller hosts.

    1. Pick the example for your provider
    git clone --depth 1 --branch v2.0.0 https://github.com/bemmoly/bemmoly cd bemmoly/deploy/terraform/examples/aws
    2. Create the VM; it installs Bemmoly and prints its address
    terraform init terraform apply -var domain=bemmoly.example.com -var size=medium

    Credentials come from your provider’s usual tools, never from these files.

    The Terraform guide

What happens

  • Checks the machine: the system, memory, disk, ports 80 and 443, and DNS.
  • Installs Docker Engine and the Compose plugin if they are missing, or uses yours.
  • Writes /var/bemmoly: the Compose file, the Caddyfile, a .env with freshly generated secrets, and the data and backups folders.
  • Starts Postgres 18 and the app, which applies its schema changes as it starts, then asks for a certificate for your domain.
  • Schedules the nightly backup, installs the bemmoly command and prints your address.

If the domain does not point at the machine yet, it starts with a self-signed certificate, and a real one follows by itself once DNS does. Keep a copy of /var/bemmoly/.env somewhere safe: it holds the key that decrypts stored credentials and the backup passphrase, and backups do not contain it.

  • Automatic HTTPS Certificates are requested and renewed for you.
  • Nightly backups Kept 7 days, 4 weeks and 3 months, and verified.
  • Upgrades with rollback A failed health check rolls back on its own; you can roll back for 7 days.
  • In-app updater Release notes, then one click to update.
  • All modules Every module ships in the one image. Turn on what you use.

Check it is healthy

On the server; use your own domain
sudo bemmoly status sudo bemmoly doctor curl -fsS https://work.example.com/healthz

bemmoly status shows the containers, the version, the database size, the queue, the last backup and the certificate. bemmoly doctor runs the installer’s checks and the app’s health checks again and says how to fix what fails. /healthz answers when the app is up. In the app, Settings › System status shows the same checks.

First login

The first visit runs the setup wizard: name the workspace, create your admin account on your server, bring your data or start clean, invite your team, choose what AI may do or skip it, and pick the workspace’s look. Everything can be changed later in Settings. Invitations go out through your mail server, set in Settings › Email delivery.

Turn on Work and Docs

Modules start switched off. To track issues or write pages, open Settings › Manage modules, turn on Work, Docs or both, and choose who can use each: nobody yet, everyone, or specific teams. Until then, people see the shell without them.

Set up AI (optional)

Bemmoly works fully without AI, and AI stays off until an admin turns it on. To use it, open Settings › AI and models, add a provider from the models.dev catalog with its key, or a model on your own network by its address, and press Test connection. Pick a model for each role, then turn AI on for the workspace.

Then summaries with their sources, answers from your docs, help in the editor and plans you confirm appear, all drawn in lilac. Settings decides whether page and issue content is sent, which spaces and projects are excluded, whether AI may change data, and a monthly budget. Turned off again, every AI surface disappears and nothing more is sent.

Upgrade

Settings › Updates shows the release notes and updates with one click. Every update takes a backup first, checks the image’s signature, and rolls back by itself if the app is not healthy within three minutes; you can roll back for 7 days. Checking for new releases is off until an admin turns it on there. From the server:

On the server
sudo bemmoly upgrade sudo bemmoly rollback

With Compose and no updater, follow updating in the Docker Compose guide. The changelog lists what each release changes.

Back up and restore

A backup runs every night at 02:00, kept 7 days, 4 weeks and 3 months, each checked as it is written and test-restored every week. Add an S3-compatible bucket in Settings › Storage and backups and copies go there too, encrypted with your backup passphrase. Take or list backups at any time:

On the server
sudo bemmoly backup sudo bemmoly backups

To restore one, by the name bemmoly backups lists:

On the server
sudo bemmoly restore <backup>

Every backup holds the database and the files people uploaded: page images, the workspace logo and issue attachments. That holds wherever the uploads live. On the server's disk they are read from the data folder; in an S3-compatible bucket (set by the BEMMOLY_STORAGE_S3_* keys) they are copied out of the bucket into the backup, so a backup never depends on the bucket surviving. A restore puts the uploads back where the workspace keeps them now, disk or bucket.

A restored workspace needs the .env it was backed up with, which backups do not contain, so keep that file somewhere safe.

The bemmoly command

The installer puts bemmoly in /usr/local/bin. It asks for sudo itself; bemmoly help lists everything.

bemmoly status Containers, version, database size, queue, last backup, certificate.
bemmoly doctor Re-runs the installer’s checks and the app’s health checks, with fixes.
bemmoly tune [--yes] After a resize, re-tunes Postgres for the new memory; asks before restarting it.
bemmoly logs [service] [-f] Recent logs of bemmoly, db, proxy or updater.
bemmoly backup / backups Take a backup now; list every backup with version, size and verification.
bemmoly verify <backup> [--drill] Check a backup’s checksums, or restore it into a temporary database.
bemmoly restore <backup|file|s3-url> Restore a backup; --mount attaches one read-only beside the live data.
bemmoly upgrade [version] Backup, pull, verify, swap, health check; rolls back if the check fails.
bemmoly rollback Go back to the previous version, saying first exactly what it keeps.
bemmoly config get | set KEY Read or change a setting in .env and restart what uses it.
bemmoly update-channel [stable|beta] Show or change the update channel.

Troubleshooting

The installer says port 80 or 443 is in use
Another web server holds it; sudo ss -ltnp shows which. Stop it, or re-run with --no-proxy and put Bemmoly behind it on port 8080.
It cannot resolve ghcr.io
Check the DNS servers in /etc/resolv.conf and that outbound port 53 and HTTPS are open.
It says the machine needs 2 GB, or 10 GB of disk
Resize the VM, or pick a folder on a larger disk with --dir; backups live there too.
The browser warns about the certificate
The domain does not point at the server yet, so the certificate is self-signed for now. Fix the DNS record; a real certificate follows by itself.
Bemmoly did not become healthy
Run sudo bemmoly logs bemmoly to see why, and sudo bemmoly doctor for the fix.
Invitations do not arrive
Set up your mail server in Settings › Email delivery and send a test message from there.
Work or Docs is missing
Modules start off. Turn them on in Settings › Manage modules and choose who can use each.
There is no AI anywhere
AI is off until an admin turns it on in Settings › AI and models. People whose role lacks “Use AI assist” never see it.

Still stuck? sudo bemmoly doctor explains most problems, and GitHub issues is where to ask.