# AppView configuration PORT=3000 FORUM_DID=did:plc:your-forum-did-here PDS_URL=https://your-pds.example.com JETSTREAM_URL=wss://jetstream2.us-east.bsky.network/subscribe # Database DATABASE_URL=postgres://atbb:atbb@localhost:5432/atbb # Web UI configuration # PORT=3001 (set in web package, or override here) APPVIEW_URL=http://localhost:3000 # Forum Service Account credentials (for spike and AppView writes) FORUM_HANDLE=your-forum-handle FORUM_PASSWORD=your-forum-password # OAuth Configuration OAUTH_PUBLIC_URL=http://localhost:3000 # The public URL where your AppView is accessible (used for client_id and redirect_uri) # For production: https://your-forum-domain.com # For local dev with ngrok: https://abc123.ngrok.io SESSION_SECRET=CHANGE_ME_SEE_COMMENT_BELOW # Used for signing session tokens (prevent tampering) # Generate with: openssl rand -hex 32 SESSION_TTL_DAYS=7 # How long sessions last before requiring re-authentication (default: 7 days) # Optional: Redis session storage (leave blank to use in-memory) # REDIS_URL=redis://localhost:6379 # If set, uses Redis for session storage (supports multi-instance deployment) # If blank, uses in-memory storage (single-instance only)