mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-04 12:05:11 +01:00
* 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>
41 lines
819 B
Markdown
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`
|