mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Apply code style * Remove explicit call to register policies * Shift core files * Shift config files * Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used. * Bump Laravel dependencies * Add type hints for Laravel 10 * Shift cleanup * wip * wip * sync translation * Sync back config * Public Path Binding * QueryException * monolog * db::raw * monolog * db::raw * fix larastan collections * fix phpstan bug looping forever * larastan errors * larastan: fix column type * styleci * initialize array * fixes * fixes --------- Co-authored-by: Shift <shift@laravelshift.com>
79 lines
2.3 KiB
PHP
79 lines
2.3 KiB
PHP
<?php
|
|
|
|
/*
|
|
| !!!! DO NOT EDIT THIS FILE !!!!
|
|
|
|
|
| You can change settings by setting them in the environment or .env
|
|
| If there is something you need to change, but is not available as an environment setting,
|
|
| request an environment variable to be created upstream or send a pull request.
|
|
*/
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Broadcaster
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This option controls the default broadcaster that will be used by the
|
|
| framework when an event needs to be broadcast. You may set this to
|
|
| any of the connections defined in the "connections" array below.
|
|
|
|
|
| Supported: "pusher", "ably", "redis", "log", "null"
|
|
|
|
|
*/
|
|
|
|
'default' => env('BROADCAST_DRIVER', 'null'),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Broadcast Connections
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may define all of the broadcast connections that will be used
|
|
| to broadcast events to other systems or over websockets. Samples of
|
|
| each available type of connection are provided inside this array.
|
|
|
|
|
*/
|
|
|
|
'connections' => [
|
|
|
|
'pusher' => [
|
|
'driver' => 'pusher',
|
|
'key' => env('PUSHER_APP_KEY'),
|
|
'secret' => env('PUSHER_APP_SECRET'),
|
|
'app_id' => env('PUSHER_APP_ID'),
|
|
'options' => [
|
|
'host' => env('PUSHER_HOST') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com',
|
|
'port' => env('PUSHER_PORT', 443),
|
|
'scheme' => env('PUSHER_SCHEME', 'https'),
|
|
'encrypted' => true,
|
|
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
|
|
],
|
|
'client_options' => [
|
|
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
|
|
],
|
|
],
|
|
|
|
'ably' => [
|
|
'driver' => 'ably',
|
|
'key' => env('ABLY_KEY'),
|
|
],
|
|
|
|
'redis' => [
|
|
'driver' => 'redis',
|
|
'connection' => 'default',
|
|
],
|
|
|
|
'log' => [
|
|
'driver' => 'log',
|
|
],
|
|
|
|
'null' => [
|
|
'driver' => 'null',
|
|
],
|
|
|
|
],
|
|
|
|
];
|