Running PhotoPrism on a Raspberry Pi¶
wget https://dl.photoprism.org/docker/arm64/docker-compose.yml sudo docker-compose up -d
PHOTOPRISM_ADMIN_PASSWORD so that PhotoPrism starts with a secure initial password.
photoprism, or other easy-to-guess passwords, on a public server.
A minimum length of 4 characters is required.
All commands may have to be prefixed with
sudo when not running as root.
Note that this will change the home directory
/root in your configuration.
Our repository on Docker Hub:
You need to boot
your Raspberry Pi 3 / 4 with the parameter
config.txt in order to use this image.
Alternatively, you may run the image on UbuntuDockerPi.
It's a 64bit Ubuntu Server with Docker pre-installed.
Indexing large photo and video collections significantly benefits from fast, local SSD storage and enough memory for caching.
To avoid permission issues, docker-compose.yml should include the following security options:
photoprism: security_opt: - seccomp:unconfined - apparmor:unconfined
Reducing Server Load
If you're running out of memory - or other system resources - while indexing, please limit the
number of workers by setting
PHOTOPRISM_WORKERS to a value less than the number of logical CPU cores in
Also make sure your server has swap
configured so that indexing doesn't cause restarts when there are memory usage spikes.
As a measure of last resort, you may additionally disable image classification using TensorFlow.