Layer 5 · self-hosting reality check
What it actually takes to self-host PhotoPrism
The docs say 2 GB. In practice you want 4 GB, and 8 GB if you index a large library. 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 PhotoPrism is one of the picks.
| RAM — documented minimum | 2 GB |
|---|---|
| RAM — what it really needs | 4 GB, and 8 GB if you index a large library |
| CPU | 2 vCPU; indexing is the CPU-heavy phase |
| Disk | Library size plus roughly 20% for thumbnails and sidecar files |
| Monthly cost | $20–40/mo for a 500 GB library |
| Setup time | 1–2 hours |
| How you install it | docker compose; MariaDB rather than SQLite for anything real |
| Ongoing maintenance | Moderate. Reindexing after upgrades is occasionally required. |
| Where it stops scaling | Hundreds of thousands of photos. Indexing time, not serving, is the bind. |
The thing that catches people out
PhotoPrism treats your originals as read-only and keeps everything it generates separately — which is exactly right, and it means the storage figure people plan for is wrong. Thumbnails at multiple sizes plus sidecar files add roughly a fifth on top of the library, and the machine needs headroom for that before the first index, not after.
When not to self-host PhotoPrism
You want automatic phone backup as the primary feature. PhotoPrism organises a library well; Immich is built around the mobile upload path.
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 PhotoPrism actually need?
- 4 GB, and 8 GB if you index a large library 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. 2 vCPU; indexing is the CPU-heavy phase alongside it.
- What does self-hosting PhotoPrism cost per month?
- $20–40/mo for a 500 GB library This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for moderate. Reindexing after upgrades is occasionally required.
- How long does it take to set up PhotoPrism?
- 1–2 hours, via docker compose; MariaDB rather than SQLite for anything real.
- When should I NOT self-host PhotoPrism?
- You want automatic phone backup as the primary feature. PhotoPrism organises a library well; Immich is built around the mobile upload path.
- What is the most common mistake when self-hosting PhotoPrism?
- PhotoPrism treats your originals as read-only and keeps everything it generates separately — which is exactly right, and it means the storage figure people plan for is wrong. Thumbnails at multiple sizes plus sidecar files add roughly a fifth on top of the library, and the machine needs headroom for that before the first index, not after.