This Docker Compose setup of PhotoPrism uses terminalnetwork/syncthing-hooks to update the library whenever the files in a Syncthing folder change.
- Update
services.photoprism.volumes
in docker-compose.yml to mount your Syncthing folders into PhotoPrism's originals - Update
services.watcher.environment
in docker-compose.yml with API keys and the URL for Syncthing. You can leavePHOTOPRISM_INDEX_URL
as is - Copy watcher/syncthing-hooks/example-5s to
watcher/syncthing-hooks/<syncthing-folder-id>-<interval>
. Interval needs to be compatible with vercel/ms - Start with
docker-compose up -d