Sign inSign up

ahmet2mir/pywatcher

By ahmet2mir

Updated about 8 years ago

Image
0

1.1K

ahmet2mir/pywatcher repository overview

Docker Python Watcher image

Simple watcher on a file or a folder and post event on a HTTP backend.

How to use

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

License

Apache 2 http://en.wikipedia.org/wiki/Apache_License

Tag summary

Content type

Image

Digest

sha256:6fbabf6d3

Size

21 MB

Last updated

about 8 years ago

docker pull ahmet2mir/pywatcher