Files
diun/docs/config/watch.md
CrazyMax db2bce3bb3 Docs website with mkdocs (#100)
* Fix build workflow

* Docs website with mkdocs (#99)

* Fix docs workflow

* Move mkdocs Docker file

* Ignore docs in build workflow

* Update workflows

* Update links

* Move upgrade notes to documentation

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-19 22:47:17 +00:00

41 lines
819 B
Markdown

# Watch configuration
## `workers`
Maximum number of workers that will execute tasks concurrently. (default `10`)
!!! example "Config file"
```yaml
watch:
workers: 10
```
!!! abstract "Environment variables"
* `DIUN_WATCH_WORKERS`
## `schedule`
[CRON expression](https://godoc.org/github.com/robfig/cron#hdr-CRON_Expression_Format) to schedule Diun watcher. (default `0 * * * *`)
!!! example "Config file"
```yaml
watch:
schedule: "0 * * * *"
```
!!! abstract "Environment variables"
* `DIUN_WATCH_SCHEDULE`
## `firstCheckNotif`
Send notification at the very first analysis of an image. (default `false`)
!!! example "Config file"
```yaml
watch:
firstCheckNotif: false
```
!!! abstract "Environment variables"
* `DIUN_WATCH_FIRSTCHECKNOTIF`