-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathcachet.php
99 lines (87 loc) · 3.14 KB
/
cachet.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*
|--------------------------------------------------------------------------
| Cachet Enabled
|--------------------------------------------------------------------------
|
| This option determines if Cachet is enabled. If Cachet is not enabled,
| the status page will not be accessible. This is useful when you need
| to disable the status page for maintenance or other reasons.
|
*/
'enabled' => env('CACHET_ENABLED', true),
/*
|--------------------------------------------------------------------------
| Cachet Path
|--------------------------------------------------------------------------
|
| This is the URI path where Cachet will be accessible from.
*/
'path' => env('CACHET_PATH', 'status'),
'guard' => env('CACHET_GUARD', null),
/*
|--------------------------------------------------------------------------
| The User Model.
|--------------------------------------------------------------------------
|
| This is the model that will be used to authenticate users. This model
| must be an instance of Illuminate\Foundation\Auth\User.
*/
'user_model' => App\Models\User::class,
/*
|--------------------------------------------------------------------------
| Cachet Domain
|--------------------------------------------------------------------------
|
| This is the domain where Cachet will be accessible from.
|
*/
'domain' => env('CACHET_DOMAIN'),
/*
|--------------------------------------------------------------------------
| Cachet Title
|--------------------------------------------------------------------------
|
| This is the title of the status page. By default, this will be the name
| of your application.
|
*/
'title' => env('CACHET_TITLE', env('APP_NAME').' - Status'),
/*
|--------------------------------------------------------------------------
| Cachet Middleware
|--------------------------------------------------------------------------
|
| This is the middleware that will be applied to the status page. By
| default, the "web" middleware group will be applied, which means
| that the status page will be accessible by anyone.
|
*/
'middleware' => [
'web',
],
'api_middleware' => [
'api',
],
/*
|--------------------------------------------------------------------------
| Cachet API Rate Limit (attempts per minute)
|--------------------------------------------------------------------------
|
| This is the rate limit for the Cachet API. By default, the API is rate
| limited to 300 requests a minute (or 5 requests a second). You can
| adjust the limit as needed by your application.
|
*/
'api_rate_limit' => env('CACHET_API_RATE_LIMIT', 300),
'beacon' => env('CACHET_BEACON', true),
];