Skip to content

Broadcasting environment: Reverb and Brotcast

BROADCAST_DRIVER defaults to null. Configured drivers are reverb, pusher, ably, redis, log and null. Brezel Brotcast uses Reverb; set BROADCAST_DRIVER=reverb for that service.

KeyPurpose / default
BREZEL_BROTCAST_HOSTPublic broadcast host; server publish fallback 127.0.0.1.
BREZEL_BROTCAST_PORTPublic port; Reverb publishing fallback 8086.
BREZEL_BROTCAST_PUBLISH_HOSTPrivate publishing host; falls back to public host.
BREZEL_BROTCAST_PUBLISH_PORTPrivate publishing port; falls back to public port.
BREZEL_BROTCAST_SCHEMEhttp; https enables TLS for publishing.
BREZEL_BROTCAST_KEYReverb default brotcast-pusher.
BREZEL_BROTCAST_SECRETApp secret.
BREZEL_BROTCAST_APP_IDApp id.
BREZEL_BROTCAST_APP_CLUSTERPusher connection cluster.
ABLY_KEYAbly connection credential.

The pusher connection remains available and uses a port fallback of 6001. Public browser and private publishing addresses may differ in container networks. BREZEL_BROTCAST_SERVER_HOST (0.0.0.0) and BREZEL_BROTCAST_SERVER_PORT (8086) control the listener. REVERB_MAX_REQUEST_SIZE and REVERB_APP_MAX_MESSAGE_SIZE default to 250000 bytes; REVERB_APP_PING_INTERVAL to 60 seconds. REVERB_SCALING_ENABLED defaults to false and REVERB_SCALING_CHANNEL to reverb. Server settings are in config/reverb.php; use php artisan brezel:brotcast:start --help for host/port overrides.

Source: config/broadcasting.php and config/reverb.php. Return to environment reference.