Files
bot-api/.env.example

10 lines
406 B
Plaintext
Raw Permalink Normal View History

PORT=3091
DB_PATH=/data/bots.db
NODE_ENV=production
# Set a strong random token — all WP sites must send this as: Authorization: Bearer <token>
# Leave empty to run in open mode (dev only)
API_TOKEN=change-me-to-a-long-random-string
# Set to 'true' to log bots that hit the API dashboard directly.
# Disabled by default — enabling it caused DB bloat from legitimate crawlers.
ENABLE_SELF_OBSERVE=false