mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This feature implement env parameters for phpUnit configuration. This upgrade is a first step for multi influxdb version testing
19 lines
502 B
PHP
19 lines
502 B
PHP
<?php
|
|
return [
|
|
"tcp" => [
|
|
"host" => getenv('HOST'),
|
|
"port" => getenv('TCP_PORT'),
|
|
"protocol" => getenv('TCP_PROTOCOL'),
|
|
"database" => getenv('TCP_DB'),
|
|
"username" => getenv('USERNAME'),
|
|
"password" => getenv('PASSWORD'),
|
|
],
|
|
"udp" => [
|
|
"host" => getenv('HOST'),
|
|
"port" => getenv('UDP_PORT'),
|
|
"database" => getenv('UDP_DB'),
|
|
"username" => getenv('USERNAME'),
|
|
"password" => getenv('PASSWORD'),
|
|
],
|
|
];
|