如何使用graphcool-cli部署到自托管群集?

时间:2020-01-19 01:47:30

标签: graphcool

我在我的Droplet上安装了docker和graphcool-cli并运行

graphcool local up

我正在尝试将此Droplet添加为本地计算机上的部署目标,但是graphcool clusters命令给了我这个错误: 错误:GraphQL错误(代码:405)

{
  "error": "HTTP method not allowed, supported methods: GET",
  "status": 405
}

如果我使用端点http://dropletipadress:60000而不是http://dropletipadress:60000/,则会收到此错误:

ERROR: Whoops. Looks like an internal server error. Please contact us from the Console (https://console.graph.cool) or via email (support@graph.cool) and include your Request ID: local:system:ck5kc6fh400200160qw9xg8fr

{
  "data": {
    "authenticateCustomer": null
  },
  "errors": [
    {
      "message": "Whoops. Looks like an internal server error. Please contact us from the Console (https://console.graph.cool) or via email (support@graph.cool) and include your Request ID: local:system:ck5kc6fh400200160qw9xg8fr",
      "requestId": "local:system:ck5kc6fh400200160qw9xg8fr",
      "path": [
        "authenticateCustomer"
      ],
      "locations": [
        {
          "line": 3,
          "column": 9
        }
      ]
    }
  ],
  "status": 200
}

这不是我们应该如何自托管graphcool框架吗?

0 个答案:

没有答案