Kuma/compose.yaml
Sid Sun 0890660e01 Prepend hostname to notification message
If multiple instances of uptime-kuma are deployed to cross-check each other and/or in different environments (say ipv4+ipv6 and ipv6 only), and only one or some of the instances fire notificationsm, it is tricky to figure out which specific environment is experiencing the outage. Explicitly setting unique hostnames and prepending it to the message will help in these scenarios.

Signed-off-by: Sid Sun <sids@Sids-MacBook.local>
2025-05-09 08:43:10 +10:00

10 lines
217 B
YAML

services:
uptime-kuma:
hostname: uptime-kuma
image: louislam/uptime-kuma:1
volumes:
- ./data:/app/data
ports:
# <Host Port>:<Container Port>
- 3001:3001
restart: unless-stopped