mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
Raise the Reverb max request size and store the remembered list view cookies unencrypted, so the WebSocket handshake no longer fails with 413 and live updates (like proxy restart logs) reach the browser.
97 lines
3.1 KiB
PHP
97 lines
3.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Reverb Server
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This option controls the default server used by Reverb to handle
|
|
| incoming messages as well as broadcasting message to all your
|
|
| connected clients. At this time only "reverb" is supported.
|
|
|
|
|
*/
|
|
|
|
'default' => 'reverb',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Reverb Servers
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may define details for each of the supported Reverb servers.
|
|
| Each server has its own configuration options that are defined in
|
|
| the array below. You should ensure all the options are present.
|
|
|
|
|
*/
|
|
|
|
'servers' => [
|
|
|
|
'reverb' => [
|
|
'host' => '0.0.0.0',
|
|
'port' => env('PUSHER_BACKEND_PORT', 6001),
|
|
'path' => '',
|
|
'hostname' => env('PUSHER_HOST'),
|
|
'options' => [
|
|
'tls' => [],
|
|
],
|
|
'max_request_size' => 64_000,
|
|
'scaling' => [
|
|
'enabled' => false,
|
|
'channel' => 'reverb',
|
|
'server' => [
|
|
'url' => env('REDIS_URL'),
|
|
'host' => env('REDIS_HOST', '127.0.0.1'),
|
|
'port' => env('REDIS_PORT', '6379'),
|
|
'username' => env('REDIS_USERNAME'),
|
|
'password' => env('REDIS_PASSWORD'),
|
|
'database' => env('REDIS_DB', '0'),
|
|
'timeout' => env('REDIS_TIMEOUT', 60),
|
|
],
|
|
],
|
|
'pulse_ingest_interval' => 15,
|
|
'telescope_ingest_interval' => 15,
|
|
],
|
|
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Reverb Applications
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may define how Reverb applications are managed. If you choose
|
|
| to use the "config" provider, you may define an array of apps which
|
|
| your server will support, including their connection credentials.
|
|
|
|
|
*/
|
|
|
|
'apps' => [
|
|
|
|
'provider' => 'config',
|
|
|
|
'apps' => [
|
|
[
|
|
'key' => env('PUSHER_APP_KEY', 'coolify'),
|
|
'secret' => env('PUSHER_APP_SECRET', 'coolify'),
|
|
'app_id' => env('PUSHER_APP_ID', 'coolify'),
|
|
'allowed_origins' => ['*'],
|
|
'ping_interval' => 60,
|
|
'activity_timeout' => 30,
|
|
'max_connections' => null,
|
|
'max_message_size' => 10_000,
|
|
'accept_client_events_from' => 'members',
|
|
'rate_limiting' => [
|
|
'enabled' => false,
|
|
'max_attempts' => 60,
|
|
'decay_seconds' => 60,
|
|
'terminate_on_limit' => false,
|
|
],
|
|
],
|
|
],
|
|
|
|
],
|
|
|
|
];
|