a cache for slack profile pictures and emojis
at main 1.0 kB view raw
1# Slack API Configuration 2# Get these from https://api.slack.com/apps 3# Either SLACK_BOT_TOKEN or SLACK_TOKEN will work (SLACK_BOT_TOKEN takes precedence) 4SLACK_BOT_TOKEN=xoxb-your-bot-token-here 5SLACK_SIGNING_SECRET=1234567890abcdef1234567890abcdef 6 7# Optional: Slack Rate Limiting 8# Adjust these if you're hitting rate limits or need more throughput 9# SLACK_MAX_CONCURRENT=3 # Max concurrent requests (default: 3) 10# SLACK_MIN_TIME_MS=200 # Min time between requests in ms (default: 200, ~5 req/s) 11 12# Environment 13NODE_ENV=production 14 15# Optional: Sentry Error Monitoring 16# Get your DSN from https://sentry.io 17# SENTRY_DSN=https://xxxxx@xxxx.ingest.us.sentry.io/123456 18 19# Optional: Database Configuration 20# Defaults to ./data/cachet.db if not set 21# DATABASE_PATH=/path/to/cachet.db 22 23# Optional: Server Port 24# Defaults to 3000 if not set 25# PORT=3000 26 27# Admin Authentication 28# Used for protected endpoints like /reset and /users/:id/purge 29# Generate a secure random string for production 30BEARER_TOKEN=your-secure-random-token-here