Simple watcher on a file or a folder and post event on a HTTP backend.
Start an instance
docker run -d -v /srv/pictures:/data --name watcher -e PYWATCHER_FILE=/data -e PYWATCHER_URL=http://172.17.42.1:5000/publish ahmet2mir/pywatcher
with
PYWATCHER_FILE for the folder to watch, don't forget to attach it with -v PYWATCHER_URL the http backend to POST the event
Content type
Image
Digest
sha256:6fbabf6d3…
Size
21 MB
Last updated
about 8 years ago
docker pull ahmet2mir/pywatcher