Self-host PhotoPrism with Levelrail
An AI-powered photo management app that indexes and organizes your library as you own it.
- Authorphotoprism
- LicenceAGPL-3.0
- Memory1 GiB
- Archarm64
- Services1
How to self-host PhotoPrism
-
Pull the images
One image is pulled on your server.
Show images
photoprism/photoprism:260728
-
Create the app
One service starts in a single Compose app, with 2 named volume mounts for your data, on port 2342.
-
Fill in the secrets
1 secret is generated and stored encrypted, 2 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
PhotoPrism requirements
- Memory
- About 1 GiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 2342
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- AGPL-3.0, network copyleft (agpl) license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 2342 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then PhotoPrism. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the PhotoPrism docs page.
Deploy PhotoPrism your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy PhotoPrism from the CLI
levelrail-cli templates deploy photoprism --name my-photoprism Deploy PhotoPrism with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/photoprism/deploy PhotoPrism configuration
PhotoPrism services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| photoprism | photoprism/photoprism:260728 | 2342 | photoprism_originals -> /photoprism/originalsphotoprism_storage -> /photoprism/storage |
PhotoPrism environment variables
| Variable | Service | Value |
|---|---|---|
| PHOTOPRISM_ADMIN_PASSWORD | photoprism | Generated at deploy |
| PHOTOPRISM_DISABLE_TLS | photoprism | Preset by the template |
| PHOTOPRISM_SITE_URL | photoprism | Preset by the template |
Ports and volumes
- Ports
- 2342
- Volumes
- 2 named mounts: photoprism_originals -> /photoprism/originals, photoprism_storage -> /photoprism/storage
PhotoPrism FAQ
How much memory does PhotoPrism need?
The catalog lists about 1 GiB of memory for PhotoPrism.
Does PhotoPrism run on arm64?
For PhotoPrism, an arm64 image is published; amd64 is image published.
What licence is PhotoPrism under?
PhotoPrism is licensed under AGPL-3.0, which is network copyleft, so source sharing also applies when it is offered as a hosted service.
Does PhotoPrism need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which ports does PhotoPrism use?
PhotoPrism listens on port 2342 inside the stack.
Where does PhotoPrism keep its data?
In named volumes: photoprism_originals mounted at /photoprism/originals and photoprism_storage mounted at /photoprism/storage.
Can I deploy PhotoPrism on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id photoprism for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image photoprism/photoprism:260728 is what you deploy there.