配置:monitor2

This commit is contained in:
luying
2022-05-30 20:03:34 +08:00
parent 828b2cbb9b
commit bd67ab49af
6 changed files with 47 additions and 2 deletions
+6
View File
@@ -36,6 +36,12 @@ module.exports = {
'redis': 'r-8vb130185rp2ir3lqn.redis.zhangbei.rds.aliyuncs.com',
'redispw': 'zyz_monitor_2021'
},
'monitor2': {
'mongo': 'mongodb://dbop:zyzDev2022@dds-8vbc0bc9420028041.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbc0bc9420028042.mongodb.zhangbei.rds.aliyuncs.com:3717/zyz?replicaSet=mgset-508590620',
'gmmongo': 'mongodb://dbop:zyzGm2021@dds-8vb9964bb4cc7f241.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vb9964bb4cc7f242.mongodb.zhangbei.rds.aliyuncs.com:3717/zyzgm?replicaSet=mgset-507933150',
'redis': 'r-8vb418l8kkju9sis8k.redis.zhangbei.rds.aliyuncs.com',
'redispw': 'zyz_dev_2021'
},
'distribute': {
'mongo': 'mongodb://dbop:zyzDev2021@dds-8vb5c74ba4263da41.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vb5c74ba4263da42.mongodb.zhangbei.rds.aliyuncs.com:3717/zyz?replicaSet=mgset-506991391',
'gmmongo': 'mongodb://dbop:zyzGm2021@dds-8vb9964bb4cc7f241.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vb9964bb4cc7f242.mongodb.zhangbei.rds.aliyuncs.com:3717/zyzgm?replicaSet=mgset-507933150',
+5
View File
@@ -34,6 +34,11 @@ module.exports = {
'host': '127.0.0.1',
'port': 3005
},
'monitor2': {
'id': 'master-server-1',
'host': '127.0.0.1',
'port': 3005
},
'distribute': {
'id': 'master-server-1',
'host': '172.26.145.161',
+32
View File
@@ -238,6 +238,38 @@ module.exports = {
{ 'id': 'order-server-1', 'host': '127.0.0.1', 'port': 6060, "args": " --inspect=9242" },
]
},
'monitor2': {
'connector': [
{ 'id': 'connector-server-1', 'port': 4050, 'clientHost': '8.142.30.128', 'host': '172.26.145.170', 'clientPort': 3050, 'frontend': true },
],
'chat': [
{ 'id': 'chat-server-1', 'host': '172.26.145.170', 'port': 6050 },
],
'role': [
{ 'id': 'role-server-1', 'host': '172.26.145.170', 'port': 6053 }
],
'battle': [
{ 'id': 'battle-server-1', 'host': '172.26.145.170', 'port': 6054 }
],
'gate': [
{ 'id': 'gate-server-1', 'host': '172.26.145.170', 'clientHost': '8.142.30.128', 'clientPort': 3014, 'frontend': true },
],
'gm': [
{ 'id': 'gm-server-1', 'host': '127.0.0.1', 'port': 6055 }
],
'systimer': [
{ 'id': 'systimer-server-1', 'host': '172.26.145.170', 'port': 6056 }
],
'guild': [
{ 'id': 'guild-server-1', 'host': '172.26.145.170', 'port': 6057 },
],
'activity': [
{ 'id': 'activity-server-1', 'host': '172.26.145.170', 'port': 6059 },
],
'order': [
{ 'id': 'order-server-1', 'host': '172.26.145.170', 'port': 6060 },
]
},
'distribute': {
'connector': [
{ 'id': 'connector-server-4', 'host': '172.26.145.171', 'port': 9061, 'clientHost': '121.89.211.172', 'clientPort': 3050, 'frontend': true, "args": " --inspect=9237" },