From d42442c55b05a823ba3c62aa8b4287427cee1940 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 22 Sep 2026 10:17:45 +0200 Subject: [PATCH] fix(reverb): remove public Pusher connection options --- config/reverb.php | 6 ------ tests/Feature/ReverbAndTerminalPackagingTest.php | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config/reverb.php b/config/reverb.php index 5551e9be3a..6331511347 100644 --- a/config/reverb.php +++ b/config/reverb.php @@ -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, diff --git a/tests/Feature/ReverbAndTerminalPackagingTest.php b/tests/Feature/ReverbAndTerminalPackagingTest.php index 9449313b45..8ebd45231b 100644 --- a/tests/Feature/ReverbAndTerminalPackagingTest.php +++ b/tests/Feature/ReverbAndTerminalPackagingTest.php @@ -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')))