修改gateway监听端口

This commit is contained in:
2025-08-23 13:37:47 +08:00
parent ed96e0f858
commit 4b4169b5ee
@@ -7,7 +7,7 @@ use Webman\GatewayWorker\Register;
return [
'gateway' => [
'handler' => Gateway::class,
'listen' => 'websocket://0.0.0.0:5151',
'listen' => 'websocket://0.0.0.0:' . getenv('GATEWAY_LISTEN'),
'count' => 2,
'reloadable' => false,
'constructor' => ['config' => [