非常感谢回答
请问不能部署具体指的是什么,是缺少一些能力,还是说部署上去会有异常?
pomelon 是通过启动一个master实例, master实例 读取本身的服务节点配置, 通过ssh 去启动 其他应用实例.
服务节点配置文件
{
"development":{
"connector":[
{
"id":"connector-server-1",
"host":"127.0.0.1",
"port":4050,
"clientPort":3050,
"frontend":true,
"args":"--inspect=10001"
}
],
"game":[
{
"id":"game-server-1",
"host":"127.0.0.1",
"port":6050,
"args":"--inspect=10002"
}
],
"gate":[
{
"id":"gate-server- ",
"host":"127.0.0.1",
"clientPort":3014,
"frontend":true,
"args":"--inspect=10003"
}
]
},
"production":{
"connector":[
{
"id":"connector-server-1",
"host":"127.0.0.1",
"port":4050,
"clientPort":3050,
"frontend":true
},
{
"id":"connector-server-2",
"host":"127.0.0.1",
"port":4051,
"clientPort":3051,
"frontend":true
},
{
"id":"connector-server-3",
"host":"127.0.0.1",
"port":4052,
"clientPort":3052,
"frontend":true
}
],
"game":[
{
"id":"game-server-1",
"host":"127.0.0.1",
"port":6050
},
{
"id":"game-server-2",
"host":"127.0.0.1",
"port":6051
},
{
"id":"game-server-3",
"host":"127.0.0.1",
"port":6052
}
],
"gate":[
{
"id":"gate-server-1",
"host":"127.0.0.1",
"clientPort":3014,
"frontend":true
}
]
}
}