Skip to content

Install Keepwork

This is the guide for the person who looks after your computers. Clients receive it after our first call; the release address in the commands is filled in then.

Docker first. Keepwork ships as one image; the installer starts it with its own database, and Caddy for HTTPS when you want it. Setup is one command, run once; everything after that happens in the browser. Tested by the owner on a Synology DS225+. A Hetzner VM runs the same stack and is next to be verified by the owner.

Early access. The installer is built and under review. The release address is not published yet, so <release URL> below is a placeholder.

See where the installer stands in the changelog

Quick setup, the short version

  1. A small 64-bit Linux server with 2 GB of memory or more and ports 80 and 443 free; Docker is added if it is missing.

  2. A name for it (an sslip.io name works on day one) and your AI key.

  3. The one command, run once by whoever looks after your computers.

    curl -fsSL <release URL>/install.sh | sudo env KEEPWORK_HOSTNAME=keepwork.example.com sh
  4. Open the setup link it prints, create the first admin, add your AI key.

  5. Invite your people and describe your first app.

On a Synology NAS the command is different and the reverse proxy comes before the setup link: use theSynology guide below.

The full guides for a Linux host and for a Synology NAS follow.

For the person who sets it up

The server program is one 37 MB file (macOS arm64 build, measured 28 October 2026) and idles in about 32 MB of memory; the smallest server is 2 GB.

What you need

A small server or NAS, a name that points at it, and a model API key of your own.

  • A server

    A 64-bit Linux host (amd64 or arm64) with Docker and 2 GB of memory or more. A Hetzner VM of the CX class is enough, and so is a Synology NAS. If Docker is missing, the installer adds it with Docker's own script.

  • A hostname

    A name that points at the server, such as keepwork.example.com. An sslip.io name, which is built from the server's IP address, works on day one without a domain.

  • A model API key

    Your own key from one provider, either Anthropic-style or Chat Completions. Keepwork stores it sealed and never prints it.

A Raspberry Pi is not a target. Use a server or NAS that meets the list above.

On a Hetzner VM or any Linux host

One command installs the whole stack. The rest happens in the browser.

  1. Point a name at the server

    Create a DNS record for your hostname, or use an sslip.io name. Ports 80 and 443 must be free: Caddy asks for the certificate on them.

  2. Run the install command

    On the server, as an administrator:

    curl -fsSL <release URL>/install.sh | sudo env KEEPWORK_HOSTNAME=keepwork.example.com sh

    It fetches the stack files into /opt/keepwork, starts Postgres, Keepwork and Caddy, and Caddy gets the certificate for your hostname. Running the command again changes nothing.

    KEEPWORK_INSTALL_DIR installs somewhere other than /opt/keepwork.

    KEEPWORK_NO_TLS=1 leaves Caddy out and makes Keepwork listen on port 8080 on 127.0.0.1, for a proxy of your own.

  3. Create the first administrator and add the model key

    The installer prints one line with a setup link. It works for 24 hours and is shown only once, so copy it. If you missed it, run keepwork logs and look for the line with /setup/ in it. Open the link to create the administrator and choose the model provider.

    Prefer the terminal? These do the same. The first asks for a password twice, the second reads the key without showing it.

    keepwork admin create --email you@example.com
    keepwork provider set
  4. Sign in

    Open your hostname in a browser and sign in with the email you chose. There is no public signup: you invite colleagues later, one by one.

  5. Describe your first app

    Choose New app, give it a name, and write what you want in a sentence or two, for example a page where the team signs up for lunch slots. The builder says what it will make, saves it as version 1 and shows it running beside the chat.

    A team gets 2 000 000 model tokens a month until you set another limit with keepwork budget set.

On a Synology NAS

Container Manager runs the stack. DSM's own reverse proxy serves the HTTPS address.

  1. Check the NAS

    You need DSM 7.2 or newer, Container Manager installed, a 64-bit processor and 2 GB of memory or more. DSM's own MariaDB is not used: Keepwork brings its own Postgres.

    Turn on SSH in Control Panel, Terminal and SNMP, then connect as an administrator.

  2. Choose how people reach it

    There are two ways to get a secure address. Pick one before you start.

    • DSM's reverse proxy (recommended). DSM already owns ports 80 and 443 and can hold the certificate. Keepwork runs on port 8080 and DSM forwards your HTTPS name to it. Install with KEEPWORK_NO_TLS=1.
    • Caddy in the Keepwork stack. Caddy gets its own certificate on ports 80 and 443. This works only when nothing else on the NAS uses those two ports, which is not the case on a default DSM. Leave KEEPWORK_NO_TLS unset.
  3. Run the install command

    Over SSH:

    curl -fsSL <release URL>/install.sh | sudo env KEEPWORK_NO_TLS=1 KEEPWORK_HOSTNAME=keepwork.example.com sh

    For the Caddy option, leave out KEEPWORK_NO_TLS=1. The command fetches the stack files into /opt/keepwork, makes the passwords, starts the containers and waits until Keepwork answers.

    It then prints one line starting with Open, holding the setup link. It works for 24 hours and is shown once, so copy it, but do not open it yet. The sign-in cookie only travels over HTTPS, so set the proxy up first.

  4. Point DSM's reverse proxy at Keepwork

    In Control Panel, open Login Portal, Advanced, Reverse Proxy, and choose Create. Fill it in like this:

    Source
    HTTPS, host name keepwork.example.com, port 443
    Destination
    HTTP, host name localhost, port 8080

    Then make sure the certificate for that name is assigned to the entry, in Control Panel, Security, Certificate, Settings.

    If the name DSM answers on differs from the hostname you installed with, change the KEEPWORK_PUBLIC_URL line in /opt/keepwork/.env, then run docker compose up -d in that folder.

  5. Open the setup link

    Open the link the installer printed. Create the first administrator and choose the model provider. If you lost the link, keepwork logs shows it again.

The files live under /opt/keepwork. Update with keepwork update and remove with keepwork uninstall, both over SSH. The next section says what each one does.

After installing

Everything below is done with the keepwork command on the server, and is the same on a Linux host and on a NAS.

  • Check on it

    keepwork doctor checks Docker, the containers, ports 80 and 443, the databases, free space, the model provider, the age of the last backup and who handles HTTPS. It says in plain words what needs attention. keepwork logs shows what Keepwork is saying right now; press Ctrl-C to stop watching.

  • Backups

    Keepwork makes a backup every night. keepwork backup now makes one at once and keepwork backup list shows them. Add a backup storage in Settings so copies also leave the server. Backups are not encrypted: they hold everyone's data and password hashes, so keep that storage private.

    keepwork restore <folder> puts a backup back after you type restore. Everything made since that backup is lost.

  • Updates, with a way back

    keepwork update makes a backup, pulls the newest version and starts it. If the new version does not answer within about 90 seconds, the previous one is started again. If no backup can be made, the update stops, and --no-backup updates anyway, without that safety copy.

  • Keep a copy of the master key

    The saved model key, the email password and the backup storage settings are sealed with the master key, keys/master.key in Keepwork's data volume. No backup holds it, on purpose. Copy it once to somewhere safe and apart from the backups. Without it a restore onto a new server still works, but you enter those settings again.

  • Taking it away

    keepwork uninstall stops Keepwork and removes the install, but keeps your data and the private settings file. Add --purge to delete the data too. Both ask you to type the hostname first.

The Bridge People page: an Invite someone form with an email field and a role, a list of the people on the team, and a note on what each role can do.
Invite your first person from Bridge.
The Atrium home page titled Your apps: a New app tile and a Guesthouse tile under a Live heading.
Your apps, opened from Atrium.

These guides come from the install branch and will be updated when the first release is tagged.