# Slack API Configuration # Get these from https://api.slack.com/apps # Either SLACK_BOT_TOKEN or SLACK_TOKEN will work (SLACK_BOT_TOKEN takes precedence) SLACK_BOT_TOKEN=xoxb-your-bot-token-here SLACK_SIGNING_SECRET=1234567890abcdef1234567890abcdef # Optional: Slack Rate Limiting # Adjust these if you're hitting rate limits or need more throughput # SLACK_MAX_CONCURRENT=3 # Max concurrent requests (default: 3) # SLACK_MIN_TIME_MS=200 # Min time between requests in ms (default: 200, ~5 req/s) # Environment NODE_ENV=production # Optional: Sentry Error Monitoring # Get your DSN from https://sentry.io # SENTRY_DSN=https://xxxxx@xxxx.ingest.us.sentry.io/123456 # Optional: Database Configuration # Defaults to ./data/cachet.db if not set # DATABASE_PATH=/path/to/cachet.db # Optional: Server Port # Defaults to 3000 if not set # PORT=3000 # Admin Authentication # Used for protected endpoints like /reset and /users/:id/purge # Generate a secure random string for production BEARER_TOKEN=your-secure-random-token-here