[修改]修改网络模式为host,调整了各个服务的网络地址

This commit is contained in:
makotocc0107
2024-09-26 11:04:26 +08:00
committed by Coding
parent eb3f49f00f
commit 491b2265d2
8 changed files with 14 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ use GuzzleHttp\Client;
class EtcdService
{
protected $client;
protected $baseUri = 'http://etcd:2379/v3/'; // etcd 默认地址
protected $baseUri = 'http://127.0.0.1:2379/v3/'; // etcd 默认地址
public function __construct()
{

View File

@@ -6,7 +6,7 @@ use GuzzleHttp\Client;
class PrometheusService
{
protected $client;
protected $baseUri = 'http://prometheus:9090/api/v1/'; // Prometheus 的默认地址
protected $baseUri = 'http://127.0.0.1:9090/api/v1/'; // Prometheus 的默认地址
public function __construct()
{