8d78e18267
- Frontend: React 18 + TypeScript + Vite + Ant Design Mobile - Backend: PHP 8.5 + Webman 2.x + MySQL + Redis - i18n support: Chinese, English, Russian, Spanish, French - Approval workflow engine - Docker development environment - Feishu integration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
583 B
PHP
24 lines
583 B
PHP
<?php
|
|
/**
|
|
* Webman server configuration
|
|
*/
|
|
use support\Log;
|
|
|
|
return [
|
|
'listen' => 'http://0.0.0.0:8787',
|
|
'transport' => 'tcp',
|
|
'context' => [],
|
|
'name' => 'webman',
|
|
'count' => (int)shell_exec('nproc') ?: 4,
|
|
'user' => '',
|
|
'group' => '',
|
|
'reusePort' => false,
|
|
'event_loop' => '',
|
|
'stop_timeout' => 2,
|
|
'pid_file' => runtime_path() . '/webman.pid',
|
|
'max_request' => 1000000,
|
|
'stdout_file' => runtime_path() . '/logs/stdout.log',
|
|
'log_file' => runtime_path() . '/logs/workerman.log',
|
|
'max_package_size' => 10 * 1024 * 1024,
|
|
];
|