mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-24 23:52:35 +02:00

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>
10 lines
217 B
YAML
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
|