Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/schemas/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@
class Monitor(BaseModel):
type: MonitorType
name: str
description: str
interval: int = 60
retryInterval: int = 60
resendInterval: int = 0
maxretries: int = 0
upsideDown: bool = False
notificationIDList: Optional[List] = None

# HTTP JSON-QUERY
expectedValue: Optional[str] = None
jsonPath: Optional[str] = None

# HTTP KEYWORD
url: Optional[str] = None
expiryNotification: bool = False
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.9"
services:
kuma:
container_name: uptime-kuma
image: louislam/uptime-kuma:1.19.6
image: louislam/uptime-kuma:1.23.2
ports:
- "3001:3001"
restart: always
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sniffio==1.3.0
starlette==0.20.4
tortoise-orm==0.19.2
typing_extensions==4.4.0
uptime-kuma-api==0.13.0
uptime-kuma-api==1.2.1
urllib3==1.26.12
uvloop==0.17.0
watchfiles==0.17.0
Expand Down