Watch config files for changes and trigger reload actions
893
Watch configuration files for changes and trigger actions (reload, restart, webhook).
docker run -v $(pwd)/config:/config -e WATCH_PATH=/config -e ON_CHANGE="curl -X POST http://app:8080/reload" ogulcanaydogan/config-watcher
| Variable | Description | Default |
|---|---|---|
WATCH_PATH | Path to watch | /config |
ON_CHANGE | Command to run on change | - |
WEBHOOK_URL | URL to POST on change | - |
DEBOUNCE_MS | Debounce interval (ms) | 1000 |
PATTERN | File glob pattern to watch | * |
MIT
Content type
Image
Digest
sha256:340d7ebee…
Size
48.6 MB
Last updated
8 months ago
docker pull ogulcanaydogan/config-watcher