Attempting to set up PhotoPrism with a preexisting originals folder on another drive

Hello! I'm exploring using PhotoPrism as an alternative to Plex, since Plex's mobile experience for photos is really lacking.

Like the title says I'm attempting to set up PhotoPrism to work on an already-existing folder located on a different drive than that of the Docker container - the photos are on a mechanical drive while the container is on an SSD. I'm a bit confused about how I should be changing my Docker Compose file to accomplish this - here's the lines I've added:

environment:
    ...
    PHOTOPRISM_ORIGINALS_PATH: "D:/Backups/reddit_sync"
volumes:
    - "D:/Backups/reddit_sync:/photoprism/originals/reddit_sync"

I think the line in the volumes section is the one that's problematic, since I couldn't find any breakdown of that section's syntax.

Posted Jan 23, 2022, 2:08 AM UTC

33
LuigiCalamar•

My external USB drive is setup as this (for a working example):

  • "/media/extusb/photoprism/pictures:/photoprism/originals"

and my import folder is:

  • "/media/extusb/photoprism_imports:/photoprism/import"

so my external usb drive is at /media/extusb

And I put my directories there

You should be able to just set that up and do a full index

Or - may be better to put them all into your imports and do a full import?

3
_quantumOP•

I think taking the subfolder off of /photoprism/originals solved it!

1
vbDevHost•

I don't user import so since I manage the photos via another method but my docker compose has this:

volumes:

- /mnt/nas/photo:/photoprism/originals

- photoprism_storage:/photoprism/storage

Where /mnt/nas/photo is an NFS mount to a NAS where the originals are stored.

I do not set my originals path via the environment variables.

2