20 lines
806 B
Plaintext
20 lines
806 B
Plaintext
export RELAYS=wss://offchain.pub,wss://nostr.bitcoiner.social
|
|
# 0 = run probes on each /metrics scrape; set >0 for periodic background probing.
|
|
# Example: 300 = every 5 minutes.
|
|
export PROBE_INTERVAL_SECONDS=300
|
|
export PROBE_TIMEOUT_SECONDS=10
|
|
export LISTEN_ADDR=0.0.0.0
|
|
export PORT=9464
|
|
export LOG_LEVEL=info
|
|
|
|
# Optional write confirmation probe settings:
|
|
export WRITE_CHECK_ENABLED=true
|
|
# true = require read-after-write confirmation; set false to treat publish OK as sufficient
|
|
export WRITE_CHECK_VERIFY_READ=true
|
|
export WRITE_CHECK_KIND=30078
|
|
# WRITE_CHECK_PRIVKEY accepts either:
|
|
# - nsec1... string
|
|
# - 64-char hex private key
|
|
# If omitted or invalid, relay-exporter generates an ephemeral key at runtime.
|
|
#export WRITE_CHECK_PRIVKEY=nsec1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|