mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-17 21:08:25 +08:00
feat: Added support for auto-filling remote MySQL root password in App Store
This commit is contained in:
parent
f9a20ec443
commit
c4b5df83e1
1 changed files with 1 additions and 0 deletions
|
|
@ -515,6 +515,7 @@ func (a *AppInstallService) GetServices(key string) ([]response.AppService, erro
|
||||||
} else {
|
} else {
|
||||||
service.From = constant.AppResourceRemote
|
service.From = constant.AppResourceRemote
|
||||||
service.Status = constant.StatusRunning
|
service.Status = constant.StatusRunning
|
||||||
|
service.Config = map[string]string{"PANEL_DB_ROOT_PASSWORD": db.Password, "PANEL_DB_ROOT_USER": db.Username}
|
||||||
}
|
}
|
||||||
res = append(res, service)
|
res = append(res, service)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue