This commit is contained in:
32
config/autoload/services.php
Normal file
32
config/autoload/services.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Author: ykxiao
|
||||
* Date: 2024/5/31
|
||||
* Time: 08:40
|
||||
* Description:
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'enable' => [
|
||||
'discovery' => true,
|
||||
'register' => true,
|
||||
],
|
||||
'consumers' => [],
|
||||
|
||||
'providers' => [],
|
||||
'drivers' => [
|
||||
'nacos' => [
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 8848,
|
||||
// The nacos account info
|
||||
'username' => null,
|
||||
'password' => null,
|
||||
'guzzle' => [
|
||||
'config' => null,
|
||||
],
|
||||
'heartbeat' => 5,
|
||||
],
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user