db:
  path: diun.db

watch:
  workers: 100
  schedule: "*/30 * * * *"
  firstCheckNotif: false
  healthchecks:
    baseURL: https://hc-ping.com/
    uuid: 5bf66975-d4c7-4bf5-bcc8-b8d8a82ea278

notif:
  amqp:
    host: localhost
    port: 5672
    username: guest
    password: guest
    queue: queue
  discord:
    webhookURL: https://discordapp.com/api/webhooks/1234567890/Abcd-eFgh-iJklmNo_pqr
    mentions:
      - "@here"
      - "@everyone"
      - "<@124>"
      - "<@125>"
      - "<@&200>"
    timeout: 10s
  gotify:
    endpoint: http://gotify.foo.com
    token: Token123456
    priority: 1
    timeout: 10s
  mail:
    host: localhost
    port: 25
    ssl: false
    insecureSkipVerify: false
    from: diun@example.com
    to: webmaster@example.com
  matrix:
    homeserverURL: https://matrix.org
    user: "@foo:matrix.org"
    password: bar
    roomID: "!abcdefGHIjklmno:matrix.org"
  mqtt:
    host: "localhost"
    port: 1883
    username: "guest"
    password: "guest"
    client: "diun"
    topic: "docker/diun"
    qos: 0
  rocketchat:
    endpoint: http://rocket.foo.com:3000
    channel: "#general"
    userID: abcdEFGH012345678
    token: Token123456
    timeout: 10s
  script:
    cmd: "uname"
    args:
      - "-a"
  slack:
    webhookURL: https://hooks.slack.com/services/ABCD12EFG/HIJK34LMN/01234567890abcdefghij
  teams:
    webhookURL: https://outlook.office.com/webhook/ABCD12EFG/HIJK34LMN/01234567890abcdefghij
  telegram:
    token: abcdef123456
    chatIDs:
      - 8547439
      - 1234567
  webhook:
    endpoint: http://webhook.foo.com/sd54qad89azd5a
    method: GET
    headers:
      content-type: application/json
      authorization: Token123456
    timeout: 10s

regopts:
  - name: "myregistry"
    timeout: 5s
  - name: "docker.io"
    selector: image
    username: foo
    password: bar
  - name: "docker.io/crazymax"
    selector: image
    usernameFile: ./fixtures/run_secrets_username
    passwordFile: ./fixtures/run_secrets_username

providers:
  docker:
    watchByDefault: true
    watchStopped: true
  swarm: {}
  file:
    filename: ./fixtures/file.yml
