Setting up SLAP: a step-by-step guide
For the person installing SLAP at a site, usually an IT administrator. People who only use the chat need the user guide instead.
At the end you will have SLAP running on one machine, sealed off from the internet, with an administrator account and accounts for the people who will use it.
Status (2026-12-01). The commands and pictures come from the team's demo PC (Ubuntu) and from a fresh, empty copy of the same web interface. Nobody has yet followed this whole guide on a new machine. The team reports that option B (no internet, USB drive) has been run (confirmed by the team, Dec 1, 2026), but the date, the machines and the results are not yet written down. If a step does not match what you see, note it in Not yet known.
The red outlines in the pictures show what to click. They are not on your screen.
Pick how you will install#
One question decides it: can the machine that will run SLAP reach the internet while you set it up? Wi-Fi or a network cable, either counts.
Two names used in this guide:
- the SLAP machine is the one SLAP will run on
- the download computer is a second computer with internet. Only option B uses it.
Option A. Yes, the machine has internet#
The simplest way. You download SLAP onto the machine, and SLAP downloads everything else it needs. When it has finished, it cuts itself off from the internet.
- You need: one machine.
- You follow: steps 1 and 2, then 3A, then 4 to 8.
Option B. No, the machine has no internet (USB drive)#
What SLAP is designed for. The download computer puts everything on a USB drive. You carry the drive to the SLAP machine and install from it. The SLAP machine never connects to anything.
- You need: two computers and a USB drive of 32 GB or more.
- You follow: steps 1 and 2, then 3B, then 4 to 8.
The USB drive carries SLAP's files, the container images that run it, and the AI models. It cannot carry Docker: that must already be on the SLAP machine, installed by the site its own way (step 2).
Already installed, and only want more models?#
Go to Adding models later. There are three ways: from a folder or USB drive, in the browser, or in a short download window.
The two options side by side#
| A. Has internet | B. No internet (USB drive) | |
|---|---|---|
| Computers | 1 | 2 |
| USB drive | Not needed | 32 GB or more |
| Free disk on the SLAP machine | 25 GB | 50 GB (estimate) |
| Internet on the SLAP machine | During setup only | Never |
| Install step | 3A | 3B |
System requirements#
What the SLAP machine needs, whichever option you choose. Option B has a few extra needs, listed after these.
Planning for many people, or several models? The sizing guide compares models by memory and speed, and shows how long people wait when several ask at once.
Hardware#
| Minimum | Recommended | |
|---|---|---|
| Memory (RAM) | 8 GB, with the default 3B model | 16 GB |
| Free disk | 25 GB for option A, 50 GB for option B | More if you add models or many documents |
| Processor | 64-bit x86. Others are untested. | A recent desktop or server processor |
| GPU | Not needed | An NVIDIA GPU makes answers much faster |
Disk, measured on the demo PC. The five container images take 17.2 GB once installed, and the default models 5.7 GB: about 23 GB before anyone uploads a document. Option B also needs room for a copy of the bundle, whose size has not been measured. The 50 GB figure allows for it and is an estimate. The memory figures are also estimates.
Speed, for comparison. The demo PC (AMD Ryzen 5 7600X, 30 GB RAM, no GPU) answers a question about a document in about 10 to 30 seconds, depending on the model. The measurements are in AI_USAGE.md.
Operating system#
| System | Use it for |
|---|---|
| Linux | The real thing: a dedicated server on the site network. Tested on Ubuntu 24.04. |
| Windows 11 | Testing and demonstrations only |
| macOS | Testing only. A Mac cannot use its GPU through Docker, so it is slow. |
Software#
On a machine with no internet, the site installs these from its own approved copies: the system image, an internal package mirror, or installer files. The USB drive cannot carry them.
Required:
- [ ] Docker Engine with the Docker Compose plugin, version 2 or later. On Windows and macOS, Docker Desktop includes both. Tested with Docker 29. Step 2 shows how to check.
- [ ] bash. Linux and macOS already have it. On Windows, install Git for Windows, which provides Git Bash. All SLAP scripts are bash scripts; the PowerShell launcher just hands off to Git Bash.
- [ ] Git, on whichever computer downloads SLAP: the SLAP machine for option A, the download computer for option B.
- [ ] A web browser on the SLAP machine, for creating the administrator account (step 5).
- [ ] Windows only: WSL 2 enabled, which Docker Desktop needs.
Optional:
- [ ] sha256sum, to confirm the bundle was not damaged in transit (option B). Linux and Git Bash have it. macOS does not by default. Without it the installer prints a warning and skips the check rather than stopping. The download computer does need it, because building the bundle uses it.
- [ ] For an NVIDIA GPU on Linux: the NVIDIA driver and the NVIDIA
Container Toolkit. This combination has not been tested. If startup
fails with a GPU error, run
./start_mvp.sh --cpu.
Access#
- [ ] Permission to run Docker. On Linux this means root,
sudo, or membership in thedockergroup. - [ ] Port 8080 is free, or choose another with
HTTP_PORTin.env.
Option B also needs: the download computer#
- [ ] Internet access
- [ ] Docker installed and running. It downloads the images and models.
- [ ] bash, Git and sha256sum. Git Bash on Windows has all three. The bundle copies the project files from git, so a zip download is not a full substitute.
- [ ] About 50 GB free disk (estimate). The images, the models and the finished bundle all exist at the same time.
Option B also needs: the USB drive#
- [ ] 32 GB or more. The bundle has not been measured since the Tika
document reader and the optional
gemma3:4bmodel were added. It used to be about 10 GB; it is larger now. - [ ] Formatted as exFAT, NTFS or ext4, not FAT32. FAT32 cannot hold a file larger than 4 GB, and the image archive in the bundle is larger than that.
- [ ] Check the site's rules first. At many nuclear, defence and healthcare sites a USB drive is a controlled item, and plugging one into a protected system needs approval. See SCOPE.md NB-02.
Decide before you start#
- Which models. The defaults are set in
.env:
| Setting | Default | What it does |
|---|---|---|
CHAT_MODEL |
llama3.2:3b |
Answers questions. About 2 GB. |
EMBED_MODEL |
nomic-embed-text |
Makes documents searchable. Required. |
EXTRA_MODELS |
gemma3:4b |
Optional second choice that can read images. About 3.4 GB. |
To change them, copy .env.example to .env and edit it before the first
run. Choose for the SLAP machine's hardware, not the download
computer's. See models/README.md for a size guide.
- Who will be the administrator. The first account created becomes the admin.
Versions this guide was tested with#
Every container image is pinned to an exact version in docker-compose.yml
(D-18), so a site installs the same software the team
tested. Change one only on purpose, and back up first: Open WebUI upgrades its
database in one direction only.
| Part | What it does | Image | Size on disk |
|---|---|---|---|
| Open WebUI | The web page: sign-in, chat, uploads | ghcr.io/open-webui/open-webui:v0.12.3 |
6.4 GB |
| Ollama | Runs the AI models | ollama/ollama:0.33.3 |
9.2 GB |
| Qdrant | Stores documents for search | qdrant/qdrant:v1.19.1 |
0.3 GB |
| Apache Tika | Reads text out of files, with OCR | apache/tika:3.3.1.0-full |
1.3 GB |
| nginx | The single front door | nginx:1.27.5-alpine |
0.1 GB |
Models are not pinned. They are downloaded by name, and a name such as
llama3.2:3b can point to a newer file later. These are the files on the
demo PC. After installing, compare the ID column of
docker compose exec ollama ollama list with this table.
| Model | ID | Size |
|---|---|---|
llama3.2:3b |
a80c4f17acd5 |
2.0 GB |
nomic-embed-text |
0a109f422b47 |
274 MB |
gemma3:4b |
68ceab7e468a |
3.4 GB |
An option B bundle records exactly what it contains in its MANIFEST.txt.
Keep that file.
Where it was tested:
| Machine | System | Docker | Result |
|---|---|---|---|
| Demo PC, Ryzen 5 7600X | Ubuntu 24.04.3 LTS | 29.1.3, Compose v5.0.0 | Runs every version above |
| Development laptop | Windows 11, Docker Desktop | 29.6.2, Compose v5.3.1 | 2026-12-01: pinned Qdrant, Tika and nginx; older Ollama 0.33.2 and Open WebUI 0.11.3. Found the Git Bash path problem, fixed the same day |
Step 1. Check the machine#
On Linux, run these in a terminal:
free -h # memory: look at "total"
nproc # number of processor threads
lscpu | grep "Model name" # which processor
df -h /var/lib/docker # free disk where Docker keeps its data
This is the demo PC: 30 GB of memory, 12 threads, and 1.7 TB free.

If /var/lib/docker does not exist yet, use df -h / instead.
On Windows, open Task Manager (Ctrl+Shift+Esc), then Performance. It shows memory, the processor and each disk.
To check for an NVIDIA GPU on Linux, run nvidia-smi. If the command is not
found, there is no NVIDIA driver, and SLAP will run on the processor.
Compare what you see with the system requirements.
Step 2. Install Docker and check that it runs#
Install Docker with the official instructions:
- Linux: Docker Engine, https://docs.docker.com/engine/install/. Then
let your account use Docker without
sudo: https://docs.docker.com/engine/install/linux-postinstall/. - Windows and macOS: Docker Desktop, https://docs.docker.com/desktop/. Start it after installing. It must be running, not just installed.
On a machine with no internet, the site installs Docker from its own approved copy. SLAP cannot do this part (SCOPE.md NB-02).
Then check it:
docker --version
docker compose version
docker info --format '{{.ServerVersion}}'
All three should print a version number:

If the last one prints an error instead, Docker is installed but not running. See If something goes wrong.
Step 3. Install SLAP#
Follow 3A if the SLAP machine has internet, or 3B if it does not. Not both.
3A. The machine has internet#
On the SLAP machine:
git clone https://github.com/AndreMarinak/CapstoneLocalAI.git
cd CapstoneLocalAI
./start_mvp.sh --online
On Windows, run the same commands in Git Bash, or use
.\start_mvp.ps1 --online in PowerShell for the last one.
--online gives the model server internet access for this run only. The
launcher:
- creates
.envand fills in two random secrets - uses an NVIDIA GPU if it finds one
- downloads the container images and the models. The images take 17 GB once installed, and the models 5.7 GB. How long this takes depends on your connection; it has not been timed.
- removes the internet access and restarts sealed
- waits until the web page answers
The end of a successful run looks like this:

Below it, the launcher prints a short list of next steps. They are the same as steps 5 to 7 here. Go on to step 4.
3B. The machine has no internet (USB drive)#
Three parts: fill the USB drive, carry it over, install from it.
Part 1. On the download computer: fill the USB drive#
git clone https://github.com/AndreMarinak/CapstoneLocalAI.git
cd CapstoneLocalAI
./scripts/build_bundle.sh /media/usb/slap
Replace /media/usb/slap with a folder on your USB drive. On Linux, drives
usually appear under /media/. In Git Bash on Windows, drive E: is /e, so
you would use /e/slap.
This downloads the container images and the models and writes them, with SLAP's files, to the drive as one bundle. It takes a while.
The bundle takes SLAP's files from the last git commit, so changes you have not committed are left out.
On Windows, a test on 2026-12-01 showed that Git Bash rewrites a path this script passes to Docker when it packs the models. The script now turns that off for the one command that needs it, but it has not been run end to end in Git Bash since. A Linux download computer avoids the question.
Optional, but worth it: check the copy before you take it anywhere. A bad copy found on the far side of an air gap costs you a trip.
cd /media/usb/slap && sha256sum -c SHA256SUMS
Every line should end in OK.
Part 2. Carry the drive over#
Eject the drive properly first, so nothing is left half-written. Follow the site's rules for bringing in a USB drive.
Part 3. On the SLAP machine: install from the drive#
Copy the bundle to the machine's own disk, then run the installer:
cp -r /media/usb/slap ~/slap-bundle
cd ~/slap-bundle
bash install.sh
SLAP runs from that copy, so the drive is not needed afterwards.
The installer:
- checks that nothing was damaged on the way, if the machine has
sha256sum. If anything does not match, it stops and asks you to typeCONTINUE. Don't. Make a new copy instead. Withoutsha256sumit prints a warning and carries on. - loads the five container images
- restores the models
- sets
ALLOW_ONLINE=falsein.env, so the platform can never be opened to the internet by mistake (D-21) - starts SLAP sealed
- imports any extra
.ggufmodel files from the bundle'smodels/folder - runs the offline check from step 6
It ends with Installed. Open http://localhost:8080 and create the first
account.
SLAP now lives in ~/slap-bundle/repo. Run the commands in the rest of this
guide from that folder, and keep the bundle folder.
More detail, including what each file in the bundle is: DEPLOYMENT.md, Path B.
Step 4. Check that everything is running#
From the SLAP folder:
docker compose ps
You should see five containers, all Up:

Four of them say (healthy). Qdrant has no health check, so Up is all it
shows. In the first two minutes some may say (health: starting). Wait and
run it again.
Step 5. Create the administrator account#
Do this straight away. The first account created on a new install becomes the administrator, whoever creates it. Until you change it in step 8, SLAP can only be opened from the SLAP machine itself, so nobody else can get there first.
Open http://localhost:8080 in a browser on the SLAP machine.
5a. The welcome page#
Click Get started.

Ignore Read the docs. It links to the internet.
5b. The account form#
Fill in your name, an email address and a password, then click Create Admin Account.

- The email address is only your sign-in name. SLAP never sends email, so it does not have to be a real mailbox.
- Keep the password safe. There is no "forgot password" email. An administrator can reset other people's passwords (step 7e), so a second administrator account is a way back in.
- The page title says "SLAP (Open WebUI)". Open WebUI adds its own name.
5c. Close the release notes#
The first time you sign in, a list of changes in this version appears. Click Okay, Let's Go!.

Step 6. Prove it is sealed#
From the SLAP folder:
./scripts/verify_offline.sh
This does not just read the settings. It tries to reach the internet from inside each part of SLAP and reports what happened. It takes a few seconds: 11 on a 2019 laptop.

The last line should say SEALED. slap_ai_public is the one network
allowed to be reachable, because it carries the web page to your browser; the
[note] line says so (D-11).
Run it again whenever you want proof, for example after any change.
Step 7. Add the people who will use it#
Nobody can create their own account. You add each person.
7a. Open the Admin Panel#
Click your name at the bottom left, then Admin Panel.

7b. The Users page#
Click Add User.

7c. Add one person#
Choose a Role, then type their name, email and a starting password. Click Save.

| Role | What it means |
|---|---|
| User | The normal choice. Chats and documents of their own. |
| Admin | Full control, including every setting and every account. Keep few. |
| Pending | Cannot do anything until an admin changes the role. |
Give the person their password in person, then ask them to change it. The user guide, step 9 shows them how.
7d. Add many people at once#
Click Add User, then the CSV Import tab, and choose a file.

The file is a spreadsheet saved as CSV, with these four columns in this order and a heading row:
Name,Email,Password,Role
Sam Example,sam@site.example,a-starting-password,user
Riley Example,riley@site.example,another-password,user
This was tested on 2026-11-19: a file like this added both people. The file holds passwords in plain text, so delete it once the import has worked.
7e. Reset someone's password#
On the Users page, click the pencil at the end of the person's row. Type a New Password and click Save.

Sign out all devices signs that person out everywhere, for example after a lost laptop.
Good to know#
- Admins can read users' chats. The speech-bubble icon on each person's row opens their chats. This is Open WebUI's default, and the team has not yet decided whether to keep it (TODO.md, backlog).
- Groups. Users > Groups sorts people into groups, so you can decide which shared document libraries and features each group gets. The team has not tested it yet.
Step 8. Let other computers reach it (optional)#
So far SLAP can be opened only on the SLAP machine itself. To serve the site
network, after steps 5 and 7, change these in .env:
HTTP_BIND=0.0.0.0
WEBUI_URL=http://<this-machine's-name-or-address>:8080
Then run ./start_mvp.sh again. People open
http://<this-machine's-name-or-address>:8080.
Traffic is not encrypted. Anyone who can watch that network can read questions and the documents that come back. Encryption (TLS) is deliberately not built yet (SCOPE.md NB-03).
Adding models later#
The default models (a chat model and a document search model) are always installed. There are three ways to add more.
| Needs internet? | Best for | |
|---|---|---|
| From a folder or USB drive | No | Option B machines, any file size |
| In the browser | No | One file up to 10 GB |
| The download window | Yes, briefly | Option A machines |
From a folder or USB drive#
Download .gguf model files on a connected computer and carry them over.
Put them in any folder and run, from the SLAP folder:
./scripts/import_models.sh /path/to/the/folder
Each model is named after its file. Rename the file first if you want a different name, using only letters, digits, dots, dashes and underscores.
With option B you can also put .gguf files in the bundle before installing:
- On the download computer, before building: in the project's
models/folder. They are copied into the bundle and covered by its damage check. - On the USB drive, after building: in the bundle's
models/folder. They still import, but the damage check does not cover them. The installer warns about each one and records its checksum inrepo/model-imports.log. Compare that with the checksum on the download page.
In the browser#
Admin Panel > Settings > Models > Manage > Upload a GGUF model. Up to 10 GB per file (D-13).
The download window#
Only for a machine that is allowed to connect for a short time:
./start_mvp.sh --window # 30 minutes; --window=45 for 45
While it is open, an admin can download models in the browser: Admin Panel > Settings > Models > Manage > Pull a model from Ollama.com. When the time is up, or you press Ctrl+C, SLAP seals itself again.
This is switched off after an option B install, which sets
ALLOW_ONLINE=false. Change it to true only if the site allows the machine
to connect (D-21). The download window has not yet been
tested end to end.
Everyday commands#
Run these from the SLAP folder.
./start_mvp.sh # start, or apply a change to .env (safe to re-run)
./stop_mvp.sh # stop; everything is kept
docker compose ps # is everything running?
./scripts/verify_offline.sh # prove it is still sealed
docker compose logs -f # watch what the services are doing (Ctrl+C to leave)
Settings come from .env and docker-compose.yml every time SLAP starts. A
change made on an Admin Panel settings page is lost at the next restart, so
make lasting changes in .env (D-20). Accounts, chats,
documents and model choices are kept.
Back up before you change a version or move to a new machine: DEPLOYMENT.md, Backups. That procedure was tested on one machine on 2026-12-01, restoring into new volumes. A restore on a second machine has not been tested, and nothing makes backups on a schedule.
If something goes wrong#
| What you see | What to do |
|---|---|
docker info says failed to connect to the docker API (Windows) or Cannot connect to the Docker daemon (Linux) |
Docker is not running. Start Docker Desktop, or on Linux run sudo systemctl start docker. |
permission denied when running docker |
Your account cannot use Docker. Follow the Linux post-install link in step 2, then sign out and back in. |
The launcher stops with [x] Docker is installed but not running |
As above: start Docker, then run the launcher again. |
On Windows, a copy of SLAP from before 2026-12-01 stops with [x] nginx/nginx.conf has an error |
Git Bash changed a path before Docker saw it; the file is fine. Run export MSYS_NO_PATHCONV=1 in Git Bash, then the launcher again. |
port is already allocated, or the page does not open |
Something else uses port 8080. Set HTTP_PORT=8081 (or another free port) in .env, run ./start_mvp.sh, and open that port instead. |
--online or --window says internet access is switched off |
ALLOW_ONLINE=false in .env, as an option B install sets on purpose. Add models from a folder instead. |
| A GPU error at startup | Run ./start_mvp.sh --cpu. |
The launcher warns Signup is OPEN |
Set ENABLE_SIGNUP=false in .env and run ./start_mvp.sh again. |
| The offline check says NOT SEALED | Usually a download window was left open. Run ./start_mvp.sh (no --online or --window), then check again. |
| The model list in the browser is empty | Refresh with Ctrl+Shift+R. If it is still empty, run docker compose exec ollama ollama list. If that is empty too, add a model (see above). |
| Answers are very slow | SLAP is running on the processor. That is normal without a GPU. Smaller models answer faster. |
sha256sum -c reports FAILED |
Do not install. Copy the bundle again from the download computer. |
The installer warns Could not verify checksums |
The SLAP machine has no sha256sum, so the damage check was skipped. Check the copy on the download computer instead (3B, part 1). |
For anything else, docker compose logs <name> shows what one part is doing,
for example docker compose logs open-webui.
Not yet known#
Gaps in this guide. If you find the answer, add it here.
- Minimum Docker version, and which other operating system versions work.
- The bundle's size, and how long option A's downloads take.
- The details of the team's option B install (confirmed by the team, Dec 1, 2026): the date, which machines, and what each step reported.
- Whether updating an install from a second bundle works.
- Whether a backup restores on a second machine.
- Real memory use with several people using the web page at once.
Related documents#
- User guide: for the people using the chat
- DEPLOYMENT.md: the same install, in reference form
- models/README.md: choosing and adding model files
- ARCHITECTURE.md: how SLAP is built
- SCOPE.md: what is deliberately not built yet
Pictures taken on 2026-11-19. The terminal pictures are real output from the team's demo PC, redrawn for print; the launcher's output is from a run on 2026-10-29. The browser pictures come from a fresh, empty copy of Open WebUI v0.12.3 with SLAP's settings, using made-up accounts. They will look different after an upgrade.
Source: docs/setup/README.md in the CapstoneLocalAI repository (local working copy). Built Dec 3, 2026.