Skip to content
M8 Server edited this page Nov 20, 2026 · 2 revisions

Docker

Logout Search runs in one container: the engine and the connector for AI apps. There is no database, and nothing to set up besides a volume for the search data. This suits a home server, or an AI app that itself runs in Docker.

The browser extension and pairing phones are for the desktop program; the container serves AI apps.

Start it

You need Docker with the compose plugin, about 40 GB of free disk and 4 GB of memory. The first start needs about 30 GB while the download and the unpacked data sit side by side; once checked, the data takes 18 GB, and the first daily update adds the add-ons and the stored answers (about 9.5 GB more), so the volume settles at about 28 GB.

mkdir logout-search && cd logout-search
curl -fsSLO https://raw.githubusercontent.com/m8software/logout-search/main/apps/search/docker/docker-compose.yml
docker compose up -d
docker compose logs -f

This pulls the published image ghcr.io/m8software/logout-search (x86-64 only for now). On another kind of processor, or to run your own changes, build it yourself.

The first start downloads the search data (about 11 GB, 18 GB once unpacked) into the volume logout-search-data and checks every file against the signed list. A stopped download resumes where it was. When the log says ready, searches work.

Connect an AI app

The container offers one address, a Model Context Protocol server (Streamable HTTP):

Where the AI app runs Address
On the same computer http://127.0.0.1:8091/mcp
In a container of the same compose project or Docker network http://logout-search:8091/mcp

Add it in the app's MCP or tool-server settings. A tool named web_search appears. The page AI apps says what the model gets back, and why to pair it with a page-reading tool.

To put another container on the same network, add it to this compose file, or attach it: docker network connect logout-search_default <container>.

What is reachable

  • Port 8091 is published to 127.0.0.1 only. Other computers on your network cannot reach it.
  • There is no password. If you change the port line to publish it wider, anything that can reach the address can search. Do that only on a network you trust.
  • Web pages cannot use it. A request sent by a page in your browser is refused, unless the page is served from this computer or from a host you list in LOGOUT_MCP_ALLOW_ORIGIN (comma-separated host names).
  • The engine's own port stays inside the container.

Updates

  • Search data updates by itself once a day, with the add-ons and the stored answers. Set LOGOUT_AUTOUPDATE=0 to turn that off; the volume then stays at about 18 GB, and searches lack what the add-ons and stored answers give.
  • The program does not update itself in a container. Fetch the newer image: docker compose pull && docker compose up -d. If you built it yourself: git pull, then the build command again.

Settings

Variable Default What it does
LOGOUT_AUTOUPDATE 1 0 stops the daily data update
LOGOUT_MCP_ALLOW_ORIGIN empty host names of web pages that may call the connector
LOGOUT_MCP_HTTP 0.0.0.0:8091 where the connector listens inside the container; off starts none

Build it yourself

git clone https://github.com/m8software/logout-search
cd logout-search/apps/search/docker
docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build

The image is built from the source in that folder and named logout-search:local. Use the same two -f options with every later docker compose command.

Your own data folder

To keep the data in a folder instead of a named volume, replace the volume line with - /path/to/folder:/data. The container runs as user 1000, so the folder must be writable by that user: chown 1000:1000 /path/to/folder.

Trouble

  • "/data is not writable by user 1000": see Your own data folder.
  • The tool answers "still starting": the engine loads its index for about a minute after each start.
  • The download stopped: docker compose up -d again; it resumes.
  • Remove everything: docker compose down -v deletes the container and the data.

Clone this wiki locally