Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.43 KB

File metadata and controls

27 lines (19 loc) · 1.43 KB

Apprise-Microservice

Build Status Docker Stars Docker Pulls

A small JSON API server for delivering notifications using Apprise.

  • Notification services can be configured using an environment variable.
  • The service listens for JSON-formatted notification messages on port 5000.

This service is suitable as a sidecar service to another service in a container-based cluster.

Usage

These are quickstart instructions using Docker Compose.

  1. Copy app.env.example to app.env
  2. Set NOTIFICATION_URLS in app.env according to the documentation. You can add multiple targets, separated by commas.
  3. Start the container:
    docker-compose up
  4. In another terminal, you should now be able to trigger a notification using curl:
    curl -X POST --data '{"title": "my notification title", "body": "what a great notification service!"}' localhost:5000