Sign inSign up

vioao/notify

By vioao

Updated about 6 years ago

Simple notify API

Image
0

131

vioao/notify repository overview

Desc:

Notify API service, supports below:

  • send email notify(type=email)
Usage:

docker run -p 3000:3000 -d -e configfile=/path/to/configfile vioao/notify

Config
{
  "email": {
    "sender": {
      "pool": true,
      "host": "your email smtp host",
      "port": 25, // smtp port
      "auth": {
        "user": "your sender email",
        "pass": "your sender password"
      }
    },
    "receiver": "the email to receive notify"
  },
  "security": {
    "whitelist": "127.0.0.1,localhost"
  }
}
API

POST

/notify?type=${type}

{
  "to": "[email protected]",
  "title": "email subject title",
  "html": "email html content"
}

Tag summary

Content type

Image

Digest

Size

24.8 MB

Last updated

about 6 years ago

docker pull vioao/notify