Self-host PhotoPrism
updated Jul 2026deployed & timed by usprices checked · Aug 2026Install verified on Ubuntu 26.04 · Aug 2026 · how we test
Self-hosted AI-powered photo gallery in Go. Lighter on RAM than Immich, strong tagging and search.
Key facts
CategoryPhoto backup & gallery
LicenseAGPL-3.0
StackGo, JavaScript
Min RAM2048 MB
Dockeryes
Difficulty
What you need
- Any VPS with at least 2048 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Install with Docker Compose
Save this as compose.yml and run docker compose up -d:
# PhotoPrism
services:
photoprism:
image: photoprism/photoprism:ce
ports: ["2342:2342"]
environment: { PHOTOPRISM_ADMIN_PASSWORD: changeme }
volumes: ["./originals:/photoprism/originals"]
# docker compose up -d → http://SERVER_IP:2342An alternative to
Head-to-head
More self-hosted tools
Photo backup & gallery
Immich
TypeScriptNode.js
moderateRead guide →
Password manager
Vaultwarden
Rust
easyRead guide →
Network-wide ad blocking
AdGuard Home
Go
easyRead guide →
RSS reader
Miniflux
GoPostgreSQL
easyRead guide →