Configure PhotoPrism to use an external drive

seedling
planted Jun 08, 2021
This post explains how to configure your own PhotoPrism instance to use an external hard drive.
To use an external drive in PhotoPrism, you need to first mount the drive and configure it to mount automatically.
Afterwards you can configure PhotoPrism accordingly.
- Make sure the drive is mounted correctly, by running
sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
- you should see the mountpoint
- edit the PhotoPrism configuration:
sudo vi docker-compose.yml
- under
volumes, edit the originals and storage destination:
- "/mnt/photoprism/originals:/photoprism/originals"- "/mnt/photoprism/storage:/photoprism/storage"
- you can also specify subfolders as mentioned in the comments of the file
Now you are ready to set up synchronization between your Nextcloud and your PhotoPrism.
Syncing your photos from Nextcloud to PhotoPrism
Setting up synchronization between Nextcloud and PhotoPrism is a piece of cake. Follow these easy steps to sync your… Read this post ›
Automatically mount a drive on your Raspberry Pi
You should configure your Pi to automatically mount your drive on start-up. This avoids your data being missing after a… Read this post ›
How to mount an external drive on a Raspberry Pi
To mount an external drive on your Pi, a few steps are needed. Plug in the SSD Check if it is connected Your drive… Read this post ›
PhotoPrism is a privacy friendly image gallery
PhotoPrism is a software for organizing a photo gallery. Using machine learning, it indexes and structures the pictures… Read this post ›
Use an external SSD for your PhotoPrism instance
You should add an external drive to your PhotoPrism instance, because otherwise it will put all data on the SD card. I… Read this post ›