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.
Quick setup, the short version
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.
A name for it (an sslip.io name works on day one) and your AI key.
The one command, run once by whoever looks after your computers.
curl -fsSL <release URL>/install.sh | sudo env KEEPWORK_HOSTNAME=keepwork.example.com shOpen the setup link it prints, create the first admin, add your AI key.
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.
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.
Run the install command
On the server, as an administrator:
curl -fsSL <release URL>/install.sh | sudo env KEEPWORK_HOSTNAME=keepwork.example.com shIt 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_DIRinstalls somewhere other than/opt/keepwork.KEEPWORK_NO_TLS=1leaves Caddy out and makes Keepwork listen on port 8080 on 127.0.0.1, for a proxy of your own.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 logsand 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 setSign 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.
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.
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.
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_TLSunset.
- 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
Run the install command
Over SSH:
curl -fsSL <release URL>/install.sh | sudo env KEEPWORK_NO_TLS=1 KEEPWORK_HOSTNAME=keepwork.example.com shFor 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.
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_URLline in/opt/keepwork/.env, then rundocker compose up -din that folder.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 logsshows 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 doctorchecks 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 logsshows what Keepwork is saying right now; press Ctrl-C to stop watching.Backups
Keepwork makes a backup every night.
keepwork backup nowmakes one at once andkeepwork backup listshows 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 typerestore. Everything made since that backup is lost.Updates, with a way back
keepwork updatemakes 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-backupupdates 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.keyin 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 uninstallstops Keepwork and removes the install, but keeps your data and the private settings file. Add--purgeto delete the data too. Both ask you to type the hostname first.


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