An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(reverb): remove public Pusher connection options
Andras Bacsaid42442c55b05
diff --git a/config/reverb.php b/config/reverb.phpindex 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.phpindex 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', functionit('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')))