|
|
|
@ -169,13 +169,6 @@ const ContainerModal = ({ addItem, visible, envType, setVisible, onSuccess }) =>
|
|
|
|
devices: deviceMountData, // 设备挂载
|
|
|
|
devices: deviceMountData, // 设备挂载
|
|
|
|
// 下面是暂时写死的数据,
|
|
|
|
// 下面是暂时写死的数据,
|
|
|
|
'restartPolicy': 'always',
|
|
|
|
'restartPolicy': 'always',
|
|
|
|
'env': [
|
|
|
|
|
|
|
|
'GIT_USER_NAME=component',
|
|
|
|
|
|
|
|
'GIT_USER_EMAIL=componentl@component.com',
|
|
|
|
|
|
|
|
'GIT_USERNAME=component',
|
|
|
|
|
|
|
|
'GIT_PASSWORD=component',
|
|
|
|
|
|
|
|
'GIT_URL=192.168.5.158:30000'
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const res: any = await containerRegister(submitData);
|
|
|
|
const res: any = await containerRegister(submitData);
|
|
|
|
|