Лёгкий Telegram-оповещатель для Komodo.
2.8K
A lightweight Telegram alerter for Komodo.
✅ OK - StackAutoUpdated
For: komodo (Stack)
Resolved: ✅
Data: {
"id": "685db922720baf6840daffca",
"name": "komodo",
"server_id": "6849fbcd598b3a0bc1570303",
"server_name": "docker-1",
"images": [
"mongo:latest"
]
}
Create a new Stack with the following compose.yaml file:
services:
komodo-telegram-alerter:
container_name: komodo-telegram-alerter
image: deniom3/komodo-telegram-alerter:latest
restart: unless-stopped
ports:
- '3000:3000'
services:
komodo-telegram-alerter:
container_name: komodo-telegram-alerter
image: sashabusinaro/komodo-telegram-alerter:latest
restart: unless-stopped
# ports:
# - '3000:3000'
networks:
- proxy
labels:
traefik.enable: 'true'
traefik.docker.network: proxy
traefik.http.routers.komodo-telegram-alerter.entrypoints: websecure
traefik.http.routers.komodo-telegram-alerter.rule: Host(`komodo-telegram-alerter.${DOMAIN}`)
traefik.http.routers.komodo-telegram-alerter.tls: 'true'
traefik.http.routers.komodo-telegram-alerter.tls.certresolver: cloudflare
traefik.http.services.komodo-telegram-alerter.loadbalancer.server.port: '3000'
networks:
proxy:
external: true
In Komodo, add a Custom Alerter with the following URL:
http://<komodo-telegram-alerter-ip>:3000/alert?token=<TELEGRAM_TOKEN>&chat_id=<TELEGRAM_CHAT_ID>
Or, leverage Komodo's interpolation:
http://<komodo-telegram-alerter-ip>:3000/alert?token=[[TELEGRAM_TOKEN]]&chat_id=[[TELEGRAM_CHAT_ID]]
Recommended: Use Komodo Secrets & Variables to store your Telegram credentials.
https://komodo-telegram-alerter.[[DOMAIN]]/alert?token=[[TELEGRAM_TOKEN]]&chat_id=[[TELEGRAM_CHAT_ID]]
/newbothttps://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdateschat.id field in the responseTo send notifications to specific threads in Telegram supergroups:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdatesmessage_thread_id field in the responseAdd the thread ID to your alert URL:
http://<komodo-telegram-alerter-ip>:3000/alert?token=<TELEGRAM_TOKEN>&chat_id=<TELEGRAM_CHAT_ID>&message_thread_id=<THREAD_ID>
Or using Komodo variables:
http://<komodo-telegram-alerter-ip>:3000/alert?token=[[TELEGRAM_TOKEN]]&chat_id=[[TELEGRAM_CHAT_ID]]&message_thread_id=[[THREAD_ID]]
Content type
Image
Digest
sha256:5e5f1d836…
Size
59 MB
Last updated
10 months ago
docker pull deniom3/komodo-telegram-alerter