Layer 5 · self-hosting reality check
What it actually takes to self-host LibrePhotos
The docs say 2 GB. In practice you want 6 GB, and it will use more during face recognition. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.
Usually reached from Google Photos alternatives, where LibrePhotos is one of the picks.
| RAM — documented minimum | 2 GB |
|---|---|
| RAM — what it really needs | 6 GB, and it will use more during face recognition |
| CPU | 4 vCPU strongly preferred |
| Disk | Library size plus ~25% |
| Monthly cost | $30–50/mo for a moderate library |
| Setup time | 2 hours |
| How you install it | docker compose with PostgreSQL and Redis |
| Ongoing maintenance | Active. The project is volunteer-driven and moves in bursts. |
| Where it stops scaling | Tens of thousands of photos. Single-instance by design. |
The thing that catches people out
The machine-learning stack is memory-hungry in a way the documentation understates — face recognition on a large library will consume several gigabytes and can be killed by the OOM killer mid-run, leaving the scan half-complete with no obvious error. Give it more RAM than you think it needs for the first full scan, then scale back afterwards.
When not to self-host LibrePhotos
You need reliability more than features. LibrePhotos is capable and rougher around the edges than Immich or PhotoPrism.
Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.
Other Layer 5 self-hosting guides
- Self-hosting LibreOffice2 GB with a large spreadsheet open
- Self-hosting ONLYOFFICE6 GB for the Document Server with a handful of concurrent editors
- Self-hosting Collabora Online4 GB, and roughly 1 GB per 20 concurrent documents
- Self-hosting CryptPad2 GB for a small instance
- Self-hosting Mattermost4 GB for a team of 50 with PostgreSQL on the same box
- Self-hosting Rocket.Chat6 GB with MongoDB on the same machine
Common questions
- How much RAM does LibrePhotos actually need?
- 6 GB, and it will use more during face recognition in practice. The documented minimum is 2 GB, which is the figure at which the process starts rather than the figure at which it works under real use. 4 vCPU strongly preferred alongside it.
- What does self-hosting LibrePhotos cost per month?
- $30–50/mo for a moderate library This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for active. The project is volunteer-driven and moves in bursts.
- How long does it take to set up LibrePhotos?
- 2 hours, via docker compose with PostgreSQL and Redis.
- When should I NOT self-host LibrePhotos?
- You need reliability more than features. LibrePhotos is capable and rougher around the edges than Immich or PhotoPrism.
- What is the most common mistake when self-hosting LibrePhotos?
- The machine-learning stack is memory-hungry in a way the documentation understates — face recognition on a large library will consume several gigabytes and can be killed by the OOM killer mid-run, leaving the scan half-complete with no obvious error. Give it more RAM than you think it needs for the first full scan, then scale back afterwards.