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.
This commit is contained in:
Shift
2023-02-19 16:19:26 +00:00
committed by HolgerHatGarKeineNode
parent de48a350bf
commit f7c62c2d92
3 changed files with 18 additions and 11 deletions

View File

@@ -84,6 +84,10 @@ return [
| considered valid. This security feature keeps tokens short-lived so | considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed. | they have less time to be guessed. You may change this as needed.
| |
| The throttle setting is the number of seconds a user must wait before
| generating more password reset tokens. This prevents the user from
| quickly generating a very large amount of password reset tokens.
|
*/ */
'passwords' => [ 'passwords' => [

View File

@@ -32,21 +32,24 @@ return [
'pusher' => [ 'pusher' => [
'driver' => 'pusher', 'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY', 'app-key'), 'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET', 'app-secret'), 'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID', 'app-id'), 'app_id' => env('PUSHER_APP_ID'),
'options' => [ 'options' => [
'host' => 'ws.portal.einundzwanzig.space', 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
'port' => 6004, 'port' => env('PUSHER_PORT', 443),
'scheme' => 'https', 'scheme' => env('PUSHER_SCHEME', 'https'),
'encrypted' => true, 'encrypted' => true,
'useTLS' => true, 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
'debug' => true, 'debug' => true,
'curl_options' => [ 'curl_options' => [
CURLOPT_SSL_VERIFYHOST => 0, CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_SSL_VERIFYPEER => 0,
], ],
], ],
'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
],
], ],
'ably' => [ 'ably' => [

View File

@@ -2,6 +2,10 @@
return [ return [
'horizon' => [
'secret' => env('HORIZON_SECRET'),
],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Third Party Services | Third Party Services
@@ -14,10 +18,6 @@ return [
| |
*/ */
'horizon' => [
'secret' => env('HORIZON_SECRET'),
],
'mailgun' => [ 'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'), 'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'), 'secret' => env('MAILGUN_SECRET'),