Closed igrybkov closed 1 year ago
In case someone needs the same thing, here's a workaround:
WUD_TRIGGER_APPRISE_LOCAL_URL: https://apprise.url
WUD_TRIGGER_APPRISE_LOCAL_URLS: "apprise://localhost:8080/devops"
Basically, it's possible to make Apprise to call Apprise API and that's exactly what we do here. I wasn't able to make it work with tags though (probably a bug), so still would be nice to have native support here.
Released as 6.1.0
Hello,
Apprise supports persistent configuration, but WUD does not allow that.
Sample
docker-compose.yml
for Apprise:Sample config
./config/apprise.yml
:Example of a request using persistent config:
curl 'http://localhost:8000/notify/apprise' -X 'POST' -d 'body=hello!&tag=devops'
The same request using JSON:
So this change requires customizing part of the URL that goes after
/notify
(it's basically file name of the persisted config) and allowing adding tags to the request as well since that's how complex configurations are managed.