Deploy web to NAS / deploy (push) Successful in 1m2s
Failures went to REPORT_EMAIL, which is the media@ shared inbox the Sunday digest already uses. An alert competing with a routine weekly mail in a shared inbox is an alert that gets scrolled past, which is most of the way back to the logfile nobody read. ALERT_EMAIL is now a separate, comma-separated list for breakage only, falling back to REPORT_EMAIL so a machine whose .env predates this still alerts somewhere rather than silently not at all. Verified by sending one test alert, which arrived. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
48 lines
2.4 KiB
Bash
48 lines
2.4 KiB
Bash
# ────────────────────────────────────────────────────────────────
|
|
# Recurring Checklist — server configuration
|
|
# Copy this file to .env and fill in your values.
|
|
# ────────────────────────────────────────────────────────────────
|
|
|
|
# Port the web server listens on (inside the container).
|
|
PORT=3000
|
|
|
|
# Password required to manage lists (add / rename / delete / import / export).
|
|
# Anyone without this password can only check items off.
|
|
ADMIN_PASSWORD=changeme
|
|
|
|
# ─── Email digest ────────────────────────────────────────────────
|
|
# REPORT_EMAIL gets the GLOBAL digest (every location/team in one email) — keep
|
|
# it set for an at-a-glance master copy. PER-TEAM digests are configured in-app
|
|
# under Manage Users: each team login can have its own report recipient(s), and
|
|
# those go out on the same schedule below, one email per team. Leave REPORT_EMAIL
|
|
# blank to send only the per-team emails.
|
|
REPORT_EMAIL=you@example.com
|
|
|
|
# Where BREAKAGE is reported, comma separated. Kept separate from REPORT_EMAIL so a
|
|
# failure alert does not have to compete with the weekly digest for attention, and so
|
|
# it can reach a person rather than only a shared inbox. Falls back to REPORT_EMAIL.
|
|
# Used by scripts/alert.js, which backup-to-drive.sh calls on every failure path.
|
|
ALERT_EMAIL=you@example.com,team@example.com
|
|
|
|
# Cron schedule for the digest. Default: every Sunday at 3:00 PM.
|
|
# Format: minute hour day-of-month month day-of-week
|
|
REPORT_CRON=0 15 * * 0
|
|
|
|
# IANA timezone the cron runs in.
|
|
REPORT_TZ=America/New_York
|
|
|
|
# After the digest is sent, automatically uncheck all items so the
|
|
# list is fresh for next week. Set to "false" to disable.
|
|
RESET_AFTER_DIGEST=true
|
|
|
|
# ─── SMTP (Gmail app-password example) ───────────────────────────
|
|
# For Gmail: enable 2-factor auth on your Google account, then create
|
|
# an "App Password" at https://myaccount.google.com/apppasswords and
|
|
# paste it into SMTP_PASS below.
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=you@gmail.com
|
|
SMTP_PASS=your-16-char-app-password
|
|
SMTP_FROM=Recurring Checklist <you@gmail.com>
|