Skip to content

System requirements

For a small to medium installation we recommend the following resources.

Hardware

Resource Minimum Recommended
CPU 2 vCPU 4 vCPU
RAM 4 GB 8 GB
Storage 20 GB SSD 40 GB SSD

Software

With Docker you need only Docker 24+, Docker Compose v2 and, for production, a TLS certificate, which the bundled Caddy fetches for you (e.g. via Let's Encrypt). Everything else is in the images.

Without Docker

  • PostgreSQL 15+ with the vector extension, pgvector 0.7+ (0.8+ recommended). 0.7 is a hard floor from this release on, even if you never use 3072-dimensional embeddings: the schema contains two search indexes on the halfvec type, which only exists from 0.7 — both db:migrate and db:schema:load abort on older extensions. Before upgrading an existing installation, check SELECT extversion FROM pg_extension WHERE extname='vector'; and run ALTER EXTENSION vector UPDATE; if needed.
  • libvips 8.13+ (8.15+ recommended). Rails calls Vips.block_untrusted at boot, a guard against CVE-2026-66066. Without that method the application does not boot at all — not for migrations either, and not for rails runner. Odd but deliberate: a system with no libvips starts (you merely lose image variants); only an old one aborts. ⚠️ Ubuntu 22.04 ships 8.12.1 and nothing newer, backports included; build libvips from source into /usr/local there, or move to Ubuntu 24.04, which carries 8.15. Check with vips --version, or more precisely from the application: bundle exec ruby -e 'require "vips"; p Vips.respond_to?(:block_untrusted)'.
  • Poppler (optional, package poppler-utils). The application uses it to render preview images of PDF files. Without Poppler everything starts normally, and a PDF shows up as a file with a link instead of a preview image. Rails would also fall back to MuPDF (mutool) if it is installed. MuPDF is licensed under the AGPL with a commercial alternative; we recommend Poppler and leave MuPDF out. Check with pdftoppm -v.
Mind the architecture

The release images exist for x86_64 and ARM, and Docker picks the right one. If you build the image yourself or install without Docker, mind that native binaries are not portable between ARM (e.g. Apple-Silicon development) and x86_64 (typical servers): build on the target architecture.

Network

Lalabase needs outbound access to your AI provider (e.g. OpenAI) if you use the AI features. All other services run inside your own infrastructure.