fix(reverb): remove public Pusher connection options

This commit is contained in:
Andras Bacsai
2026-09-22 10:17:45 +02:00
parent 97b6203fe1
commit d42442c55b
2 changed files with 2 additions and 7 deletions
-6
View File
@@ -76,12 +76,6 @@ return [
'key' => env('PUSHER_APP_KEY', 'coolify'),
'secret' => env('PUSHER_APP_SECRET', 'coolify'),
'app_id' => env('PUSHER_APP_ID', 'coolify'),
'options' => [
'host' => env('PUSHER_HOST', 'coolify'),
'port' => env('PUSHER_PORT', 6001),
'scheme' => env('PUSHER_SCHEME', 'http'),
'useTLS' => env('PUSHER_SCHEME', 'http') === 'https',
],
'allowed_origins' => ['*'],
'ping_interval' => 60,
'activity_timeout' => 30,
@@ -140,7 +140,8 @@ it('removes the dedicated realtime service from bundled compose files', function
it('keeps the internal Reverb listen port separate from the public Pusher port', function () {
expect(file_get_contents(config_path('reverb.php')))
->toContain("'port' => env('PUSHER_BACKEND_PORT', 6001)")
->toContain("'port' => env('PUSHER_PORT', 6001)")
->not->toContain('PUSHER_PORT')
->not->toContain("env('PUSHER_HOST', 'coolify')")
->and(file_get_contents(base_path('docker/production/etc/s6-overlay/s6-rc.d/reverb/run')))
->toContain('exec php artisan reverb:start --host=0.0.0.0 --port=${PUSHER_BACKEND_PORT:-6001}')
->and(file_get_contents(base_path('docker/development/etc/s6-overlay/s6-rc.d/reverb/run')))