在阿里云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
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这属于网络不稳定的原因,多尝试几次就好了