Deploy a Gotify Alerter
Part of the Komodo Hub collection.
Deploys an Alerter that pushes to Gotify. Docker image built from foxxmd/komodo-utilities.
- A running Gotify instance (installation docs)
- A Gotify App token
[[stack]]
name = "gotify-alerter"
[stack.config]
repo = "foxxmd/deploy-gotify-alerter"
file_paths = [
"compose.yaml",
]
environment = """
## Required
# Your Gotify instance URL
GOTIFY_URL = https://gotify.example.com
# App Token created for Komodo
GOTIFY_APP_TOKEN = [[GOTIFY_APP_TOKEN]]
## Optional
# Set the Gotify Priority level based on Komodo alert severity
#GOTIFY_OK_PRIORITY=3
#GOTIFY_WARNING_PRIORITY=5
#GOTIFY_CRITICAL_PRIORITY=8
"""
[[variable]]
name = "GOTIFY_APP_TOKEN"
value = "AmgdtI-dyUgkiIn"
is_secret = true
[[alerter]]
name = "gotify"
[alerter.config]
enabled = true
endpoint.type = "Custom"
endpoint.params.url = "http://gotify-alerter-ip:7000"