- Auth, sync, messaging, media, rooms, federation, presence tests - Light checks every 5min, full checks every 60min - Reports to a dedicated Matrix monitoring room - Telegram alerts on consecutive failures - Docker container with healthcheck endpoint - Auto-creates monitoring room if not configured
17 lines
415 B
YAML
17 lines
415 B
YAML
services:
|
|
matrix-health-monitor:
|
|
container_name: matrix-health-monitor
|
|
build: .
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- "8090:8090"
|
|
volumes:
|
|
- ./data:/data
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8090/health')"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|