Skip to content

failed to decode configuration from file: yaml: line 5: did not find expected key #1353

Answered by crazy-max
uniquePWD asked this question in Q&A
Discussion options

You must be logged in to vote

Double quote looks missing at templateTitle:

db:
  path: diun.db

notif:
  gotify:
    endpoint: http://192.168.100.106:1001
    token: [redacted]
    priority: 1
    timeout: 10s
    templateTitle: "{{ .Entry.Image }} {{ if (eq .Entry>"
    templateBody: |
      Docker tag {{ .Entry.Image }} which you subscribe>

providers:
  docker:
    watchStopped: true

You can also do:

db:
  path: diun.db

notif:
  gotify:
    endpoint: http://192.168.100.106:1001
    token: [redacted]
    priority: 1
    timeout: 10s
    templateTitle: >
      {{ .Entry.Image }} {{ if (eq .Entry>
    templateBody: |
      Docker tag {{ .Entry.Image }} which you subscribe>

providers:
  docker:
    watchStopped: true

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uniquePWD
Comment options

Answer selected by uniquePWD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants