Skip to content

Configuration

Variable Default Meaning
ADMIN_TOKEN required At least 16 characters
ACCESS registered registered or open
WITNESSES none identifier=url list to poll
POLL_SECONDS 5 Pause between polling rounds
PEER_URLS none identifier=url list of watchers whose feeds are pulled
PEERS none Further watcher identifiers whose alerts on the relay are considered
RELAY_URL none Relay to follow and to publish alerts to
DEDUP_TTL_SECONDS 3600 Deduplication time
ALLOW_PRIVATE false Allow plain HTTP and private addresses for webhooks
PUBLIC_URL none Address in introductions
SEED_FILE, GENERATE_SEED /data/seed, true Signing seed
DATA_FILE /data/watcher.db Database
RATE_PER_SECOND 50 Requests per second and address, with a burst of four times as many
METRICS_TOKEN none Token for /metrics
TLS_CERT, TLS_KEY none Serve HTTPS
LISTEN :8080 Listen address

Poll witnesses of several operators. A watcher that sees only one witness sees only what that witness shows it.