修改gateway监听端口
This commit is contained in:
@@ -7,7 +7,7 @@ use Webman\GatewayWorker\Register;
|
|||||||
return [
|
return [
|
||||||
'gateway' => [
|
'gateway' => [
|
||||||
'handler' => Gateway::class,
|
'handler' => Gateway::class,
|
||||||
'listen' => 'websocket://0.0.0.0:5151',
|
'listen' => 'websocket://0.0.0.0:' . getenv('GATEWAY_LISTEN'),
|
||||||
'count' => 2,
|
'count' => 2,
|
||||||
'reloadable' => false,
|
'reloadable' => false,
|
||||||
'constructor' => ['config' => [
|
'constructor' => ['config' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user