Giter Club home page Giter Club logo

Comments (5)

shizunge avatar shizunge commented on May 24, 2024

I have recently opened source of my service updating scripts:
https://github.com/shizunge/gantry

It has this feature enabled. Would you like to give it a try?

from shepherd.

maveice avatar maveice commented on May 24, 2024

Yes, absolutely - I do support this. A notification functions such as mail would be very helpful.

from shepherd.

martadinata666 avatar martadinata666 commented on May 24, 2024

Shouldn't this working? https://github.com/containrrr/shepherd/blob/master/examples/docker-compose.apprise.yml as shepherd essentially a bash script, it just passing anything to apprise container that will send notification for you

shepherd/shepherd

Lines 97 to 100 in 01d070a

if [[ "$apprise_sidecar_url" != "" ]]; then
title="[Shepherd] Error updating service $name"
body="$(date) Service $name Image $image does not exist or it is not available"
curl -X POST -H "Content-Type: application/json" --data "{\"title\": \"$title\", \"body\": \"$body\", \"type\": \"failure\"}" "$apprise_sidecar_url"

from shepherd.

maveice avatar maveice commented on May 24, 2024

@martadinata666 Yes, I see. However, as I am not a programmer or expert I was looking for some easy parameters such as smtp-server, port, tls etc. as we find it in other apps, too.

Any other alternative that provides an easier solution is very much appreciated.

from shepherd.

martadinata666 avatar martadinata666 commented on May 24, 2024

well technically you just need update the notification url at apprise container sample above. Look at https://github.com/caronc/apprise for reference

from shepherd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.