Run your own
Self-host
Run Fabrikka on your own server with Docker Compose, Render or Railway. Free, with no limits, the same code as the hosted version.
Fabrikka is one container image with everything in it: the web app, the API and the MCP endpoint. Add Postgres and a domain, and you have the same product we host, with nothing held back. Self-hosting is free under AGPL-3.0, with no seat limit, no license check and no telemetry.
The server never needs an AI provider key. Agents run on your people’s computers.
Use it, change it, and run it for your organization. If you offer a modified Fabrikka to others over a network, AGPL-3.0 asks you to share your source.
Docker Compose
On any server with Docker and a domain whose DNS points at it:
git clone https://github.com/fabrikkadotxyz/core fabrikka
cd fabrikka/docker/selfhost
./init.sh fabrikka.example.com
docker compose up -d
init.sh runs once. It writes .env with every secret generated, so there is nothing to invent. Compose starts the server, Postgres 17, and Caddy for automatic HTTPS.
Then create the first owner:
-
Get the one-time setup code from the server’s log:
docker compose logs server -
Open
https://fabrikka.example.com. It lands on Set up Fabrikka. -
Enter the setup code, your name, email and a password, then Create owner.
After that the setup page is gone, and everyone else joins by invite link.
Caddy takes ports 80 and 443. To move them, set HTTP_PORT and HTTPS_PORT in .env, and include the port in PUBLIC_URL.
Render
The repository has a Render Blueprint. It sets up the Fabrikka service with a 1 GB disk, a private managed Postgres 17, and a generated setup code.
- In Render, choose New → Blueprint, connect GitHub, pick the repository or your fork, then Apply.
- When the deploy finishes, open the service’s URL. The setup code is the service’s
FABRIKKA_SETUP_CODE, in its Environment tab. - Create owner, then start your first room.
A disk needs a paid instance, so Render’s free tier won’t work: uploads and the generated key would not survive a deploy. When you add a custom domain, set PUBLIC_URL to it.
Railway
The repository’s railway.toml holds the build and the health check. The rest is made once in Railway’s dashboard.
- New Project → Deploy from GitHub repo, and pick the repository.
- In the project, + Create → Database → PostgreSQL.
- On the Fabrikka service, set two variables.
DATABASE_URLis${{Postgres.DATABASE_URL}}.FABRIKKA_SETUP_CODEis a long random value, which Railway’s Generate button makes. - Settings → Networking → Generate Domain.
- Attach a volume at
/data. Without one, uploads and the encryption key are lost on every deploy. - Open the domain and Create owner with the setup code.
The image alone
The image runs anywhere with Postgres:
docker build -f docker/Dockerfile -t fabrikka .
It needs DATABASE_URL and PUBLIC_URL, and keeps everything else in /data. Without FABRIKKA_ENCRYPTION_KEY it generates a key into /data. Without FABRIKKA_SETUP_CODE it prints one in its log.
To serve the desktop apps from your instance, build with the release that holds them. The build verifies every file’s checksum:
docker build -f docker/Dockerfile -t fabrikka \
--build-arg FABRIKKA_APPS_URL=https://github.com/<owner>/<repo>/releases/download/app-v0.1.0 .
Without it, your instance serves the command-line client only. Your people install from your instance’s own address, as in Install the desktop app.
Upgrades
Migrations run when the server starts, so upgrading is pulling and restarting:
git pull && docker compose up -d --build
Backups
The image writes an encrypted backup every 24 hours into /data/backups, and keeps 30 days of them. Each archive holds a database dump and every uploaded file. The passphrase is generated into /data/backup.key the first time.
Two things are on you:
- Copy the archives off the server.
/data/backupssits on the same volume as the data it backs up. Use disk snapshots, or a cron withrcloneoraws s3 sync. - Keep the two keys somewhere else, once. Copy
/data/backup.keyand/data/encryption.key, never alongside the archives. Without the encryption key, stored vendor tokens can’t be read.
Set FABRIKKA_BACKUP_DIR to empty to turn backups off. With Docker Compose, also keep .env.
Admin commands
There is no emailed password reset. Recovery and account changes are operator commands. With Docker Compose, run them as docker compose exec server pnpm admin <command>.
| Command | What it does |
|---|---|
admin create-user --email <e> [--owner] |
Create an account, optionally an instance owner. |
admin reset-password --email <e> |
Set a new password. This is the password recovery path. |
admin list-users |
List accounts. |
admin deactivate-user --email <e> |
Block sign-in and end every login. Reversible. |
admin reactivate-user --email <e> |
Undo a deactivation. |
admin delete-user --email <e> |
Delete an account after a 14-day grace period. |
Learn more
The full operations guide, with proxies, email, file storage and every variable, is in the repository.
Something unclear or out of date? Tell us.