在阿里云meteor部署的问题?
本文介绍了在阿里云meteor部署的问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
在终端执行mupx setup,情况如下:
[] - Installing Docker
[] - Installing Docker: SUCCESS
[] - Setting up Environment
[] - Setting up Environment: SUCCESS
[] - Copying MongoDB configuration
[] - Copying MongoDB configuration: SUCCESS
[] - Installing MongoDB
[] x Installing MongoDB: FAILED
-----------------------------------STDERR-----------------------------------
Error response from daemon: Get https://registry-1.docker.io/v2/library/mongo/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fmongo%3Apull&service=registry.docker.io: net/http: TLS handshake timeout
-----------------------------------STDOUT-----------------------------------
----------------------------------------------------------------------------
我想问一下为什么会出现这种情况?(我的mup.json
设置如下)
{
// Server authentication info
"servers": [
{
"host": "***.***.***.***",
"username": "root",
"password": "password",
// or pem file (ssh based authentication)
// WARNING: Keys protected by a passphrase are not supported
//"pem": "~/.ssh/id_rsa"
// Also, for non-standard ssh port use this
//"sshOptions": { "port" : 49154 },
// server specific environment variables
"env": {}
}
],
// Install MongoDB on the server. Does not destroy the local MongoDB on future setups
"setupMongo": true,
// Application name (no spaces).
"appName": "fly",
// Location of app (local directory). This can reference '~' as the users home directory.
// i.e., "app": "~/Meteor/my-app",
// This is the same as the line below.
"app": "/home/quoniam/myMeteorPractise/dev/fly",
// Configure environment
// ROOT_URL must be set to your correct domain (https or http)
"env": {
"PORT": 80,
"ROOT_URL": ""
},
// Meteor Up checks if the app comes online just after the deployment.
// Before mup checks that, it will wait for the number of seconds configured below.
"deployCheckWaitTime": 15,
// show a progress bar while uploading.
// Make it false when you deploy using a CI box.
"enableUploadProgressBar": true
}
解决方案
这属于网络不稳定的原因,多尝试几次就好了
这篇关于在阿里云meteor部署的问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文