# Example backend .env # Set the host/interface to bind to (for Tailscale use your 100.x.y.z address) HOST=0.0.0.0 PORT=3002 # Optional: fully-qualified base URLs BACKEND_BASE=http://100.x.y.z:3002 FRONTEND_BASE=http://100.x.y.z:3000 # CORS origin (frontend origin) - set to frontend base for tighter security CORS_ORIGIN=http://100.x.y.z:3000 # Optional invite delete protection INVITE_API_KEY=replace-with-a-secret # Discord credentials DISCORD_CLIENT_ID=your_client_id DISCORD_CLIENT_SECRET=your_client_secret DISCORD_BOT_TOKEN=your_bot_token # Encryption key for backend db.json ENCRYPTION_KEY=pick-a-long-random-string