signalkraft / photoprism-syncthing-indexer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Photoprism Index Autoupdate with Syncthing Events

This Docker Compose setup of PhotoPrism uses terminalnetwork/syncthing-hooks to update the library whenever the files in a Syncthing folder change.

  1. Update services.photoprism.volumes in docker-compose.yml to mount your Syncthing folders into PhotoPrism's originals
  2. Update services.watcher.environment in docker-compose.yml with API keys and the URL for Syncthing. You can leave PHOTOPRISM_INDEX_URL as is
  3. Copy watcher/syncthing-hooks/example-5s to watcher/syncthing-hooks/<syncthing-folder-id>-<interval>. Interval needs to be compatible with vercel/ms
  4. Start with docker-compose up -d

About

License:GNU General Public License v3.0


Languages

Language:Dockerfile 55.6%Language:Shell 44.4%