env('REVERB_SERVER', 'reverb'), /* |-------------------------------------------------------------------------- | Reverb Servers |-------------------------------------------------------------------------- */ 'servers' => [ 'reverb' => [ 'host' => env('REVERB_SERVER_HOST', '0.0.0.0'), // WebSocket listens here 'port' => env('REVERB_SERVER_PORT', 8080), // WebSocket port 'path' => env('REVERB_SERVER_PATH', ''), // Used for Echo client hostname 'hostname' => env('REVERB_HOST', 'localhost'), 'options' => [ 'tls' => [], // No TLS for localhost ], 'max_request_size' => env('REVERB_MAX_REQUEST_SIZE', 10000), 'scaling' => [ 'enabled' => env('REVERB_SCALING_ENABLED', false), ], 'pulse_ingest_interval' => env('REVERB_PULSE_INGEST_INTERVAL', 15), 'telescope_ingest_interval' => env('REVERB_TELESCOPE_INGEST_INTERVAL', 15), ], ], /* |-------------------------------------------------------------------------- | Reverb Applications |-------------------------------------------------------------------------- */ 'apps' => [ 'provider' => 'config', 'apps' => [ [ 'key' => env('REVERB_APP_KEY'), 'secret' => env('REVERB_APP_SECRET'), 'app_id' => env('REVERB_APP_ID'), /* |-------------------------------------------------------------------------- | Echo + Flutter Client Options |-------------------------------------------------------------------------- */ 'options' => [ 'host' => env('REVERB_HOST', 'localhost'), // for client connections 'port' => env('REVERB_PORT', 8080), // SAME as WebSocket server port 'scheme' => env('REVERB_SCHEME', 'http'), 'useTLS' => false, ], /* |-------------------------------------------------------------------------- | Allowed Origins (Important) |-------------------------------------------------------------------------- | | "*" allows all origins: | - Flutter (Android/iOS/Web) | - Admin Panel | - Localhost | */ 'allowed_origins' => ['*'], 'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60), 'activity_timeout' => env('REVERB_APP_ACTIVITY_TIMEOUT', 30), 'max_connections' => env('REVERB_APP_MAX_CONNECTIONS'), 'max_message_size' => env('REVERB_APP_MAX_MESSAGE_SIZE', 10000), ], ], ], ];