first commit!
Build Images and Deploy / Update-PROD-Stack (push) Failing after 15s

This commit is contained in:
2026-03-18 15:44:49 -04:00
commit 3b479f8382
56 changed files with 7387 additions and 0 deletions
+26
View File
@@ -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