diff --git a/config/plugin/webman/gateway-worker/process.php b/config/plugin/webman/gateway-worker/process.php index 5c7efaa..64796e9 100644 --- a/config/plugin/webman/gateway-worker/process.php +++ b/config/plugin/webman/gateway-worker/process.php @@ -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' => [