PhotoPrism
Photo library with face recognition, maps and search
- ghcr.io/hsinghhira/photoprism:latest
- v20220121
- Updated 25 Nov 2026
- port 6858
- amd64 · arm64
- Media
- 40.5k stars
Open the app
About PhotoPrism
PhotoPrism organizes your photos and videos with AI: it recognizes faces, places and things, so you can search for "beach 2019" or a friend's name. It shows your pictures on a world map, plays Live Photos and videos, and shares albums with a link.
Features
- Face recognition, object labels and color search
- World map and places from GPS data
- RAW, HEIC, Live Photos and videos, with duplicate detection
- Albums, favourites, archives and share links
- Sync with phones over WebDAV, and a progressive web app
How to use
- Open PhotoPrism and sign in as admin with the password from the CREDENTIALS box in the app's logs.
- Press Library, then Index, to scan /DATA/Gallery.
- Browse, search and make albums.
Before you install
Before installing, set PHOTOPRISM_SITE_URL to your ZimaOS IP, like http://192.168.1.20:6858/; share links use it. PhotoPrism reads and adds photos in /DATA/Gallery (the same folder as ZimaOS Photos); set PHOTOPRISM_READONLY=true if it should never change that folder. The admin password is made on first start and shown in the app's logs, in the box marked CREDENTIALS. SQLite is fine for small and medium libraries; for very large ones use MariaDB. Indexing and face recognition use a lot of CPU the first time.
The settings in the first table are already in the app settings. To use any other one, open the app settings, add the variable with your value, save, and the app restarts with it. A setting you leave out uses its default.
In the app settings
| Variable | Default value | Description |
|---|---|---|
TZ | $TZ | Your time zone. It is filled in from your ZimaOS time zone. |
PHOTOPRISM_ | admin | The admin user made on first start. The password is shown in the app's logs, in the box marked CREDENTIALS. |
PHOTOPRISM_ | http://[ZIMAOS-IP-ADDRESS]:6858/ | The address you open PhotoPrism at, used in share links: replace [ZIMAOS-IP-ADDRESS] with your ZimaOS IP, like http://192.168.1.20:6858/. |
PHOTOPRISM_ | sqlite | sqlite keeps the index in a file in the storage folder. Use mysql with your own MariaDB for big libraries. |
Sign-in
| Variable | Default value | Description |
|---|---|---|
PHOTOPRISM_ | — | The admin password (at least 8 characters). Made on first start and kept in the storage folder when left out. |
PHOTOPRISM_ | password | Set to public to turn off sign-in (anyone on your network can see and change everything). |
Library
| Variable | Default value | Description |
|---|---|---|
PHOTOPRISM_ | false | Set to true to never change, upload to or delete from /DATA/Gallery. |
PHOTOPRISM_ | 5000 | The largest file to index, in MB. |
AI
| Variable | Default value | Description |
|---|---|---|
PHOTOPRISM_ | false | Set to true to turn off labels, face recognition and NSFW checks (uses less CPU). |
PHOTOPRISM_ | false | Set to true to turn off face recognition. |
PHOTOPRISM_ | false | Set to true to flag photos that may be offensive. |
Database
| Variable | Default value | Description |
|---|---|---|
PHOTOPRISM_ | — | Your MariaDB address when the driver is mysql, like 192.168.1.20:3306. |
PHOTOPRISM_ | — | The MariaDB database name. |
PHOTOPRISM_ | — | The MariaDB user. |
PHOTOPRISM_ | — | The MariaDB password. |
Video
| Variable | Default value | Description |
|---|---|---|
PHOTOPRISM_ | software | The video encoder, like intel or vaapi when the device is added to the app. |
Performance
| Variable | Default value | Description |
|---|---|---|
PHOTOPRISM_ | — | How many CPU cores indexing may use. |
name: photoprism
services:
photoprism:
image: ghcr.io/hsinghhira/photoprism:latest
container_name: photoprism
restart: unless-stopped
stop_grace_period: 30s
network_mode: bridge
environment:
- TZ=$TZ
- PHOTOPRISM_ADMIN_USER=admin
- PHOTOPRISM_SITE_URL=http://[ZIMAOS-IP-ADDRESS]:6858/
- PHOTOPRISM_DATABASE_DRIVER=sqlite
ports:
- target: 2342
published: "6858"
protocol: tcp
volumes:
- type: bind
source: /DATA/AppData/$AppID/storage
target: /photoprism/storage
bind:
create_host_path: true
- type: bind
source: /DATA/Gallery
target: /photoprism/originals
- type: bind
source: /DATA/AppData/$AppID/import
target: /photoprism/import
bind:
create_host_path: true
healthcheck:
test: ["CMD", "photoprism", "status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 2m
deploy:
resources:
limits:
memory: 4G
reservations:
memory: 256M
labels:
icon: https://cdn.jsdelivr.net/gh/HSinghHira/IceStore@main/Apps/photoprism/icon.png
x-casaos:
id: com.icestore.photoprism
envs:
- container: TZ
description:
en_US: >-
Your time zone. It is filled in from your ZimaOS
time zone.
- container: PHOTOPRISM_ADMIN_USER
description:
en_US: >-
The admin user made on first start. The password
is shown in the app's logs, in the box marked
CREDENTIALS.
- container: PHOTOPRISM_SITE_URL
description:
en_US: >-
The address you open PhotoPrism at, used in share
links: replace [ZIMAOS-IP-ADDRESS] with your
ZimaOS IP, like http://192.168.1.20:6858/.
- container: PHOTOPRISM_DATABASE_DRIVER
description:
en_US: >-
sqlite keeps the index in a file in the storage
folder. Use mysql with your own MariaDB for big
libraries.
ports:
- container: "2342"
description:
en_US: >-
PhotoPrism web app, WebDAV and API, published on
host as 6858
volumes:
- container: /photoprism/storage
description:
en_US: >-
The index database, thumbnails, sidecar files,
settings and this install's admin password
(.icestore-photoprism-admin-password). Back it up.
- container: /photoprism/originals
description:
en_US: >-
Your photos and videos: /DATA/Gallery on your
ZimaOS. PhotoPrism indexes them and puts uploads
here.
- container: /photoprism/import
description:
en_US: >-
Drop files here to import them into originals,
sorted by date.
x-casaos:
id: com.icestore.photoprism
architectures:
- amd64
- arm64
main: photoprism
author: HSinghHira
category: Media
developer: "PhotoPrism"
icon: https://cdn.jsdelivr.net/gh/HSinghHira/IceStore@main/Apps/photoprism/icon.png
title:
en_US: PhotoPrism
tagline:
en_US: Photo library with face recognition, maps and search
description:
en_US: >-
Visit: [https://icestore.hsinghhira.me/app/photoprism/](https://icestore.hsinghhira.me/app/photoprism/) for full details
PhotoPrism organizes your photos and videos with AI: it recognizes
faces, places and things, so you can search for "beach 2019" or a
friend's name. It shows your pictures on a world map, plays Live
Photos and videos, and shares albums with a link.
**Features**
- Face recognition, object labels and color search
- World map and places from GPS data
- RAW, HEIC, Live Photos and videos, with duplicate detection
- Albums, favourites, archives and share links
- Sync with phones over WebDAV, and a progressive web app
**How to use?**
1. Open PhotoPrism and sign in as admin with the password from the
CREDENTIALS box in the app's logs.
2. Press Library, then Index, to scan /DATA/Gallery.
3. Browse, search and make albums.
tips:
before_install:
en_US: >-
1. Open the app configuration before you install and replace
[ZIMAOS-IP-ADDRESS] in PHOTOPRISM_SITE_URL with your ZimaOS
IP, like http://192.168.1.20:6858/ for the IP 192.168.1.20
(use yours).
2. Start the installation. It is ready in about two minutes.
3. Open PhotoPrism. The user name is admin. The password is in
the app's logs, in the box marked CREDENTIALS.
4. Your photos are read from /DATA/Gallery. Press Library,
then Index, to scan them.
index: /
port_map: "6858"
scheme: http
is_uncontrolled: false
version: "20220121"
update_at: "2026-11-25"
release_notes:
en_US: |-
- Updated photoprism 261029 to 20220121
- First IceStore release: photoprism/photoprism 20220121, plus a start script that makes this install's admin password on first start
- Indexes /DATA/Gallery; the index and thumbnails are in /DATA/AppData/photoprism/storage
repo: "https://github.com/photoprism/photoprism"
support: "https://github.com/photoprism/photoprism/issues"
docs: "https://docs.photoprism.app"Install PhotoPrism
Something not working with PhotoPrism?
Report it so it gets fixed, or ask for an app that is not here yet.
ZimaOS
Add the store link, then find PhotoPrism in the App Store and install it.
CasaOS
Add the store link, then find PhotoPrism in the App Store and install it.
ReCasaOS
Add the store link, then find PhotoPrism in the App Store and install it.
Homeio
Add the store link, then find PhotoPrism in the App Store and install it.
MOS
Add the repository in MOS Hub Settings, then find PhotoPrism in Docker → MOS Hub and install it.