Files
backend/config/autoload/services.php
2025-06-18 10:31:43 +08:00

28 lines
796 B
PHP
Executable File

<?php
return [
'enable' => [
'discovery' => false,
'register' => false,
],
// 'consumers' => [],
// 'providers' => [],
// 'drivers' => [
// 'nacos' => [
// // nacos server url like https://nacos.hyperf.io, Priority is higher than host:port
// // 'url' => '',
// // The nacos host info
// 'host' => '172.17.0.4',
// 'port' => 8848,
// // The nacos account info
// 'username' => null,
// 'password' => null,
// 'guzzle' => [
// 'config' => null,
// ],
// 'group_name' => 'api',
// 'namespace_id' => 'test',
// 'heartbeat' => 5,
// ],
// ],
];