在阿里云meteor部署的问题?
发布于 9 年前 作者 QuoniamYIF 4588 次浏览 最后一次编辑是 8 年前 来自 问答

在终端执行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
}
回到顶部