Configure PhotoPrism To Use An External Drive
[!INFO]-
topic: π₯οΈ Tech
links: Use an external SSD for your PhotoPrism instance
source:
tags: #permanent-noteΒ #published
Last Modified:
=dateformat(this.file.mtime, "MMM. dd, yyyy - HH:mm")
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 mount point
- 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