-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (18 loc) · 890 Bytes
/
.env.example
File metadata and controls
23 lines (18 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
VSHOSTING_EMAIL=your@email.com
VSHOSTING_PASSWORD=your-password
# Optional - defaults to https://admin.vshosting.cloud
VSHOSTING_BASE_URL=https://admin.vshosting.cloud
# Slack incoming webhook for the notify script (npm run notify)
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXX/YYY/ZZZ
# Optional thresholds in % (defaults: CPU 70, RAM 80, DISK 90)
ALERT_CPU_THRESHOLD=70
ALERT_RAM_THRESHOLD=80
ALERT_DISK_THRESHOLD=90
# Optional: when set, notify runs forever, re-checking every N seconds.
# Used by docker-compose notify service.
NOTIFY_INTERVAL_SECONDS=300
# Optional hostname filter applied to both `npm start` and `npm run notify`.
# - plain text -> case-insensitive substring match (e.g. "db" matches "mydb01.example.com")
# - supports glob wildcards: "*" (any chars) and "?" (one char), e.g. "db-*.prod"
# CLI flag --name=<pattern> overrides this env var.
NAME_FILTER=