Files
oam/knowledge base/photoprism.md

2.9 KiB

PhotoPrism

Photos app for the decentralized web.

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

Installation and configuration
Docker compose (preferred)

File example

wget 'https://dl.photoprism.app/docker/docker-compose.yml'
docker compose up -d

The installation example includes a pre-configured MariaDB database server.
SQLite database files will be created in the storage folder, should one remove it and provide no other database server credentials.

Volume Description
/photoprism/originals Contains one's original photo and video files
/photoprism/storage Configuration, cache, thumbnail, and sidecar files.
It must always be specified to avoid losing such files after restarts or upgrades.
Never configure the storage folder to be inside the originals folder, unless the name starts with a . to indicate that it is hidden.
/photoprism/import Optional folder from which files can be transferred to the originals folder in a structured way that avoids duplicates.
Imported files receive a canonical filename and will be organized by year and month.
Never configure the import folder to be inside the originals folder, as this will cause a loop by importing already indexed files.

Further readings

Sources