stuff/homeservers/PhotoPrism.md
Moni Ghaoui 47aa1a3484 FC
2025-04-14 19:51:40 +02:00

1.2 KiB

Photoprism

What we are really running on this machine is Photoprism using this docker-compose file, like this:

cd ~/projects/stuff/containers/docker/photoprism
docker compose up --detach

To stop it:

docker compose down

To update it:

docker compose pull

Photoprism is running on: https://photos.allisonandmoni.online/

I have set up a Systemd service and timer to automatically run the import once an hour. They can be found:

To install:

cp -v photoprism_import.service /etc/systemd/system/
cp -v photoprism_import.timer /etc/systemd/system/

Enable:

systemctl enable photoprism_import.service
systemctl enable photoprism_import.timer

In the compose.yaml file you'll notice I have the files stored in /home/photoprism. That's because I thought I could run it with podman as a dedicated user. I abandoned that idea and am now running it in Docker instead. The directories /home/photoprism/Pictures and /home/photoprism/Import are all owned by root