在阿里云meteor部署的问题?

发布于 2022-09-02 20:03:21 字数 2183 浏览 14 评论 0

在终端执行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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Saygoodbye 2022-09-09 20:03:21

这属于网络不稳定的原因,多尝试几次就好了

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文