分布式部署:服务器分布式部署,扩缩容后路由的计算
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = {
|
||||
},
|
||||
'dev': {
|
||||
'id': 'master-server-1',
|
||||
'host': '127.0.0.1',
|
||||
'host': '172.26.145.161',
|
||||
'port': 3005
|
||||
},
|
||||
'isbn': {
|
||||
@@ -28,5 +28,10 @@ module.exports = {
|
||||
'id': 'master-server-1',
|
||||
'host': '127.0.0.1',
|
||||
'port': 3005
|
||||
},
|
||||
'distribute': {
|
||||
'id': 'master-server-1',
|
||||
'host': '172.26.145.161',
|
||||
'port': 3005
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user