mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
chore: 修改Docker环境安装过程中默认的数据库地址为127.0.0.1
This commit is contained in:
parent
7dc8a0ac6b
commit
e086456777
@ -81,7 +81,7 @@ class XboardInstall extends Command
|
||||
}else{
|
||||
$envConfig = [
|
||||
'DB_CONNECTION' => 'mysql',
|
||||
'DB_HOST' => $this->ask("请输入数据库地址(默认:" . ($isDocker ? '172.17.0.1' :'127.0.0.1') .")", ($isDocker ? '172.17.0.1' :'127.0.0.1')),
|
||||
'DB_HOST' => $this->ask("请输入数据库地址(默认:127.0.0.1)", '127.0.0.1'),
|
||||
'DB_PORT' => $this->ask('请输入数据库端口(默认:3306)', '3306'),
|
||||
'DB_DATABASE' => $this->ask('请输入数据库名', 'xboard'),
|
||||
'DB_USERNAME' => $this->ask('请输入数据库用户名'),
|
||||
|
Loading…
Reference in New Issue
Block a user