mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-08 10:41:16 +08:00
feat: change default runtime php image name (#8876)
This commit is contained in:
parent
93d45bf36f
commit
8c8a4d2881
1 changed files with 2 additions and 2 deletions
|
|
@ -345,7 +345,7 @@ const changeApp = (appId: number) => {
|
|||
};
|
||||
|
||||
const changePHPVersion = (version: string) => {
|
||||
runtime.image = 'php:' + version;
|
||||
runtime.image = '1panel-php-fpm:' + version;
|
||||
};
|
||||
|
||||
const changeVersion = () => {
|
||||
|
|
@ -363,7 +363,7 @@ const changeVersion = () => {
|
|||
formFields.value[fileds[index]['envKey']] = fileds[index];
|
||||
runtime.params[fileds[index]['envKey']] = fileds[index]['default'];
|
||||
if (fileds[index]['envKey'] == 'PHP_VERSION') {
|
||||
runtime.image = 'php:' + fileds[index]['default'];
|
||||
runtime.image = '1panel-php-fpm:' + fileds[index]['default'];
|
||||
}
|
||||
}
|
||||
initParam.value = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue