-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
18 lines (17 loc) · 861 Bytes
/
Copy path.env.example
File metadata and controls
18 lines (17 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copy to ".env" and fill in to enable EMAIL alerts.
# Load it before running, e.g. (bash): set -a; . ./.env; set +a
# or (PowerShell): Get-Content .env | %% { if ($_ -match '^\s*([^#=]+)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1].Trim(), $matches[2].Trim()) } }
#
# If these are not set, the monitor still runs and alerts to the CONSOLE only.
# Gmail: smtp.gmail.com / 587 (STARTTLS). Naver: smtp.naver.com / 465 (SSL).
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USE_TLS=1
# For port 465 (implicit SSL, e.g. Naver) set SMTP_USE_SSL=1 (auto-on when port=465).
# SMTP_USE_SSL=0
SMTP_USER=your_account@gmail.com
# For Gmail use an App Password (not your login password): https://myaccount.google.com/apppasswords
SMTP_PASSWORD=your_app_password
ALERT_FROM=your_account@gmail.com
# Comma-separated list of recipients.
ALERT_TO=you@example.com