mirror of
https://github.com/caprover/caprover
synced 2026-05-26 05:20:39 +00:00
Reordered installation steps
This commit is contained in:
@@ -264,9 +264,6 @@ export function install() {
|
||||
.then(function() {
|
||||
return checkPortOrThrow(myIp4, 3000)
|
||||
})
|
||||
.then(function() {
|
||||
return backupManger.checkAndPrepareRestoration()
|
||||
})
|
||||
.then(function() {
|
||||
const imageName = CaptainConstants.configs.nginxImageName
|
||||
console.log('Pulling: ' + imageName)
|
||||
@@ -277,6 +274,9 @@ export function install() {
|
||||
console.log('Pulling: ' + imageName)
|
||||
return DockerApi.get().pullImage(imageName, undefined)
|
||||
})
|
||||
.then(function() {
|
||||
return backupManger.checkAndPrepareRestoration()
|
||||
})
|
||||
.then(function() {
|
||||
return DockerApi.get().initSwarm(myIp4)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user