diff --git a/.env.example b/.env.example index e590b3a..3df33dd 100644 --- a/.env.example +++ b/.env.example @@ -2,4 +2,6 @@ DB_HOST = 1Panel-mysql-xktB DB_PORT = 3306 DB_NAME = dashboard DB_USER = dashboard -DB_PASSWORD = cbfxkwdYAi5rKzrF \ No newline at end of file +DB_PASSWORD = cbfxkwdYAi5rKzrF + +WEBMAN_LISTEN = http://0.0.0.0:9018 \ No newline at end of file diff --git a/config/process.php b/config/process.php index 892dc82..a6cd3f7 100644 --- a/config/process.php +++ b/config/process.php @@ -21,7 +21,7 @@ global $argv; return [ 'webman' => [ 'handler' => Http::class, - 'listen' => 'http://0.0.0.0:8787', + 'listen' => getenv('WEBMAN_LISTEN'), 'count' => cpu_count() * 4, 'user' => '', 'group' => '',