Hearth/env.example

45 lines
1.6 KiB
Plaintext

# Hearth environment — copy to .env, fill in real values, never commit .env
#
# Global kill switch. Set to false to stop ALL sending/replying immediately
# without touching the config or code.
HEARTH_ENABLED=true
# Path to the participant allow-list (mounted read-only in docker-compose.yml)
HEARTH_CONFIG=/app/hearth.yml
HEARTH_DB_PATH=/app/data/hearth.db
# Scheduling
HEARTH_TIMEZONE=America/Toronto
HEARTH_POLL_INTERVAL_SECONDS=300
HEARTH_BUSINESS_HOURS_START=8
HEARTH_BUSINESS_HOURS_END=20
HEARTH_ACTIVE_WEEKDAYS_ONLY=true
# Warmup ramp curve: daily send cap starts at HEARTH_DAILY_CAP_START on day 1
# and increases by HEARTH_RAMP_STEP_PER_DAY each day up to HEARTH_DAILY_CAP_MAX.
HEARTH_DAILY_CAP_START=2
HEARTH_DAILY_CAP_MAX=20
HEARTH_RAMP_STEP_PER_DAY=1
# How long to wait before auto-replying to an incoming pool message, to look
# like a human reading their email rather than a bot (minutes).
HEARTH_MIN_REPLY_DELAY_MIN=5
HEARTH_MAX_REPLY_DELAY_MIN=180
# Optional: use your existing Ollama / Open WebUI instance to vary message
# text instead of the static template bank. Leave blank to use templates only.
HEARTH_LLM_URL=
HEARTH_LLM_MODEL=llama3.1
# Optional: daily summary via your existing ntfy instance
NTFY_URL=https://push.levkin.ca
NTFY_PUBLISH_TOKEN=
NTFY_TOPIC=hearth-digest
# --- Per-participant mailbox credentials -----------------------------------
# One HEARTH_PASSWORD_<KEY> per full_duplex participant in hearth.yml
# (KEY uppercased, matching the participant's `key:`). send_only participants
# need no password — Hearth never authenticates as them.
HEARTH_PASSWORD_ALERTS=
HEARTH_PASSWORD_PERSONAL_GMAIL=