Gotify is a free and open source project that lets you control your data and communicate via a REST-API and a web socket.
services:
server:
ports:
- 8001:80
restart: unless-stopped
container_name: gotify
volumes:
- /mnt/tank/configs/gotify:/app/data
image: gotify/server
admin:admin
To create a way for your services to talk to you, each service should be its own “app”. Go to the APPS section on the header and make one app per service.
On the client side, it will ask you for your server IP or URL and the app or API token, which you can copy and paste after revealing it by clicking the eye incon shown above.
You’ll notice my apps have nice icons which represent the service they are named for. To change the icon, click the cloud logo next to it and upload a saved image. You can find icons like the ones I have here at https://selfh.st/icons/
Emby needs some special steps to use Gotify which other apps do not. Steps are below (copied from here):
We need to deploy a custom app for this to work. Use the YAML file below, entering in your IP address and token for Gotify:
services:
gotify-truenas:
environment:
- GOTIFY_URL=
- GOTIFY_TOKEN=
image: ghcr.io/ztube/truenas-gotify-adapter:main
network_mode: host
restart: unless-stopped
Next, navigate to the Alert Settings page and add this alert for Slack:
Field | Value |
---|---|
Name | Gotify |
Type | Slack |
Level | Warning |
Webhook URL | http://localhost:31662 |