Skip to content

Using Shoutrrr Generic Schema Fails #1164

@fanuch

Description

@fanuch

Cannot pass https:// or generic+https:// as a WATCHTOWER_NOTIFICATION_URL

Following with the tutorial for notifications I would like my own proxy so as a test I've ran:

docker run --name watchtower  \
   -v /var/run/docker.sock:/var/run/docker.sock \
   -e WATCHTOWER_MONITOR_ONLY=true \
   -e WATCHTOWER_NOTIFICATIONS=shoutrrr \
   -e WATCHTOWER_NOTIFICATION_URL="generic+https://redacted.tld/foo/bar" \
containrrr/watchtower

And I receive:

time="2021-12-17T04:33:10Z" level=fatal msg="Failed to initialize Shoutrrr notifications: error initializing router services: unknown service \"generic\"\n"

As per my PR for Shoutrrr containrrr/shoutrrr#218 to discover the schema for generic, I would expect to be able to pass through generic+https:// on Watchtower as that is a valid schema.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions