A third party ATProto appview
at main 1.9 kB view raw
1# AppView Configuration 2# Copy this to .env and customize as needed 3 4# Relay/Firehose Configuration 5# Primary relay source (usually Bluesky's main relay) 6# RELAY_URL=wss://bsky.network/xrpc/com.atproto.sync.subscribeRepos 7 8# Additional relay sources (comma-separated) 9# Use this to crawl independent PDS instances that aren't in Bluesky's relay 10# Example: atproto.africa hosts blacksky.app and other independent instances 11# ADDITIONAL_RELAY_URLS=wss://atproto.africa/xrpc/com.atproto.sync.subscribeRepos 12 13# Constellation Integration (enhanced stats from microcosm.blue) 14# Set to false to disable and avoid timeout errors 15CONSTELLATION_ENABLED=false 16 17# Constellation settings (only used if CONSTELLATION_ENABLED=true) 18CONSTELLATION_URL=https://constellation.microcosm.blue 19CONSTELLATION_CACHE_TTL=60 20CONSTELLATION_TIMEOUT=10000 21# Rate limiting configuration to avoid 429 errors 22CONSTELLATION_REQUEST_DELAY=100 23CONSTELLATION_MAX_RETRIES=3 24CONSTELLATION_RETRY_DELAY=1000 25 26# Osprey Integration (federated labeling) 27OSPREY_ENABLED=false 28 29# Backfill Configuration 30# Set BACKFILL_DAYS to automatically run historical backfill when the system starts 31# 0 = disabled (no backfill) 32# -1 = total backfill (entire available history) 33# >0 = backfill X days of history (e.g., 7 for last 7 days) 34BACKFILL_DAYS=0 35 36# Backfill Resource Throttling (optional - defaults shown below) 37# Uncomment and adjust based on your server's capacity 38# BACKFILL_BATCH_SIZE=5 # Events to process before delaying 39# BACKFILL_BATCH_DELAY_MS=2000 # Milliseconds to wait between batches 40# BACKFILL_MAX_CONCURRENT=2 # Maximum concurrent processing operations 41# BACKFILL_MAX_MEMORY_MB=512 # Pause if memory exceeds this limit 42# BACKFILL_USE_IDLE=true # Use idle processing time 43# BACKFILL_DB_POOL_SIZE=2 # Database connection pool size for backfill 44 45# Data Retention 46DATA_RETENTION_DAYS=0