full server dashboard working
This commit is contained in:
1 parent
324eaff135
commit
97fdb3d5d8
19 files changed
+1441
-169
No files matched your search
@@ -56,10 +56,11 @@
|
||||
}
|
||||
$api_settings[$key] = $value;
|
||||
}
|
||||
$dockerGateway = trim($api_settings['docker_gateway'], "\"'") ?? null;
|
||||
$api_bind_ip = trim($api_settings['api_bind_ip'], "\"'") ?? null;
|
||||
$customApiPort = trim($api_settings['custom_api_port'], "\"'") ?? null;
|
||||
# load API data
|
||||
$apiUrl = 'http://'.$dockerGateway.':'.$customApiPort.'/php_summary';
|
||||
$apiUrl = 'http://'.$api_bind_ip.':'.$customApiPort.'/php_summary';
|
||||
echo "<!-- apiUrl - ".$apiUrl." -->";
|
||||
$context = stream_context_create([
|
||||
'http' => [
|
||||
'timeout' => 5, // seconds
|
||||
|
||||
Reference in new issue
Block a user