Docker setup for running Recoll WebUI as a standalone HTTP service.
This image indexes files from /docs, stores Recoll configuration and the Xapian database in /config/recoll, and serves Recoll WebUI on port 8080.
Add documents to index under ./doc.
Start the container:
docker-compose up -d --build
Open the WebUI:
http://localhost:8080/
From another machine, replace localhost with the server IP address.
./doc is mounted at /docs and is indexed by Recoll../recoll-config is mounted at /config/recoll and stores recoll.conf plus the xapiandb index.The entrypoint also creates /doc as a compatibility symlink to /docs for stale configs from older image revisions.
On startup, the entrypoint:
/config/recoll/recoll.conf if missingtopdirs values to topdirs = /docsrecollindex -c /config/recoll when the index is missing or the config was repairedAfter startup, a background loop runs recollindex -c /config/recoll every six hours. Override the interval with RECOLLINDEX_INTERVAL in seconds. For example, this runs every hour:
environment:
RECOLLINDEX_INTERVAL: "3600"
You can still reindex manually after adding or changing files in ./doc:
docker-compose exec web recollindex -c /config/recoll
To force a full rebuild, remove the index and restart:
sudo rm -rf recoll-config/xapiandb
docker-compose restart web
This image patches the upstream Recoll WebUI package at build time to improve browser behavior:
n or ArrowDown for next, p or ArrowUp for previousOpenPDF is the default open action and opens a custom PDF.js viewer in a new tab instead of the browser's built-in PDF viewerDownload saves the original file through Recoll WebUI's download endpointDownload action remains a real file downloadBrowser PDF viewers do not reliably honor #search=... fragments, so the image now ships a custom PDF.js route for dependable in-document PDF navigation.
recoll, recollcmd, python3-recoll, document filters, aspell, and the published recollwebui==0.1.2 package.Content type
Image
Digest
sha256:07884d65f…
Size
207.3 MB
Last updated
5 months ago
docker pull mecoloratul/recoll-webui