Folder reorganize 1
This commit is contained in:
23
config/control-settings.php
Normal file
23
config/control-settings.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'kepware' => [
|
||||
'base_url' => rtrim(
|
||||
getenv('KEPWARE_REST_BASE') ?: 'https://192.168.0.9:39320/iotgateway',
|
||||
'/'
|
||||
),
|
||||
'username' => getenv('KEPWARE_REST_USER') ?: 'corey',
|
||||
'password' => getenv('KEPWARE_REST_PASS') ?: '41945549lasuca',
|
||||
'timeout' => (float) (getenv('KEPWARE_REST_TIMEOUT') ?: 5.0),
|
||||
'retry_attempts' => (int) (getenv('KEPWARE_REST_RETRIES') ?: 3),
|
||||
'retry_delay' => (float) (getenv('KEPWARE_REST_RETRY_DELAY') ?: 0.35),
|
||||
'verify_tls' => filter_var(
|
||||
getenv('KEPWARE_REST_VERIFY_TLS'),
|
||||
FILTER_VALIDATE_BOOLEAN,
|
||||
['flags' => FILTER_NULL_ON_FAILURE]
|
||||
) ?? false,
|
||||
],
|
||||
'log_table' => getenv('CONTROL_LOG_TABLE') ?: 'control_write_log',
|
||||
'log_fallback_path' => getenv('CONTROL_LOG_FALLBACK')
|
||||
?: (__DIR__ . '/../storage/control-write.log'),
|
||||
];
|
||||
Reference in New Issue
Block a user