This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Database
|
||||
DATABASE_URL="postgresql://hashex:password@localhost:5432/hashex"
|
||||
|
||||
# NextAuth
|
||||
NEXTAUTH_SECRET="change-me-in-production-use-openssl-rand-base64-32"
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
|
||||
# Redis (BullMQ)
|
||||
REDIS_URL="redis://localhost:6379"
|
||||
|
||||
# Mastodon API - configurable instance
|
||||
MASTODON_INSTANCE="https://mastodon.social"
|
||||
MASTODON_ACCESS_TOKEN="your-mastodon-access-token"
|
||||
|
||||
# Worker tuning
|
||||
# Milliseconds to wait between Mastodon API calls (default: 2000 = 2s, safe for most instances)
|
||||
WORKER_RATE_LIMIT_MS=2000
|
||||
# How often (minutes) to queue a full price-update sweep (default: 60)
|
||||
PRICE_UPDATE_INTERVAL_MINUTES=60
|
||||
# Max pagination pages to fetch when counting posts (default: 5 = up to 200 posts)
|
||||
MAX_PAGES_PER_HASHTAG=5
|
||||
|
||||
# Postgres (used by postgres container in prod-compose.yml)
|
||||
POSTGRES_DB=hashex
|
||||
POSTGRES_USER=hashex
|
||||
POSTGRES_PASSWORD=changeme
|
||||
Reference in New Issue
Block a user