🐎 ci(服务器): 添加永测服
This commit is contained in:
@@ -108,4 +108,10 @@ module.exports = {
|
||||
'redisLock': 'r-8vbiuvng869tbuynxn.redis.zhangbei.rds.aliyuncs.com',
|
||||
'redisLockpw': 'hWCJ$HDajm9SN&&Z'
|
||||
},
|
||||
'zytest': {
|
||||
'mongo': 'mongodb://yjzDbOp:yjz2023ZyDb@dds-8vba9fd556eda4742.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vba9fd556eda4741.mongodb.zhangbei.rds.aliyuncs.com:3717/zyz?replicaSet=mgset-516347208',
|
||||
'gmmongo': 'mongodb://yjzGmDbOp:yjz2023ZyGmDB@dds-8vbdf8c89bbdbd241.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbdf8c89bbdbd242.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbdf8c89bbdbd243.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbdf8c89bbdbd244.mongodb.zhangbei.rds.aliyuncs.com:3717/zyzgm?replicaSet=mgset-515829436',
|
||||
'redis': 'r-8vbl4pz5gqqgfbnwtb.redis.zhangbei.rds.aliyuncs.com',
|
||||
'redispw': 'hWCJ$HDajm9SN&&Z'
|
||||
},
|
||||
};
|
||||
|
||||
@@ -133,5 +133,10 @@ module.exports = {
|
||||
'id': 'master-server-1',
|
||||
'host': '172.16.4.144',
|
||||
'port': 3005
|
||||
},
|
||||
'zytest': {
|
||||
'id': 'master-server-1',
|
||||
'host': '172.16.4.195',
|
||||
'port': 3005
|
||||
}
|
||||
};
|
||||
@@ -679,5 +679,38 @@ module.exports = {
|
||||
},
|
||||
'zy1': zy1, 'zy2': zy2, 'zy3': zy3, 'zy4': zy4, 'zy5': zy5, 'zy6': zy6, 'zy7': zy7, 'zy8': zy8, 'zy9': zy9, 'zy10': zy10, 'zy11': zy11, 'zy12': zy12, 'zy13': zy13, 'zy14': zy14, 'zy15': zy15, 'zy16': zy16, // 公测自营服务器
|
||||
'yjzios': yjzios, // 公测 ios 审核服
|
||||
'ch1': ch1, 'ch2': ch2, 'ch3': ch3, 'ch4': ch4, 'ch5': ch5, 'ch6': ch6, 'ch7': ch7, 'ch8': ch8, 'ch9': ch9 // 公测渠道服
|
||||
'ch1': ch1, 'ch2': ch2, 'ch3': ch3, 'ch4': ch4, 'ch5': ch5, 'ch6': ch6, 'ch7': ch7, 'ch8': ch8, 'ch9': ch9, // 公测渠道服
|
||||
'zytest': {
|
||||
'connector': [
|
||||
{ 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'yjz-bk-game1.fdd73.com', 'host': '172.16.4.195', 'clientPort': 3050, 'frontend': true },
|
||||
],
|
||||
'chat': [
|
||||
{ 'id': 'chat-server-1', 'host': '172.16.4.195', 'port': 6050 },
|
||||
],
|
||||
'role': [
|
||||
{ 'id': 'role-server-1', 'host': '172.16.4.195', 'port': 6051 }
|
||||
],
|
||||
'battle': [
|
||||
{ 'id': 'battle-server-1', 'host': '172.16.4.195', 'port': 6052 }
|
||||
],
|
||||
'comBattle': [
|
||||
{ 'id': 'comBattle-server-1', 'host': '172.16.4.195', 'port': 6053 }
|
||||
],
|
||||
'gm': [
|
||||
{ 'id': 'gm-server-1', 'host': '172.16.4.195', 'port': 6054 }
|
||||
],
|
||||
'systimer': [
|
||||
{ 'id': 'systimer-server-1', 'host': '172.16.4.195', 'port': 6055 }
|
||||
],
|
||||
'guild': [
|
||||
{ 'id': 'guild-server-1', 'host': '172.16.4.195', 'port': 6056 },
|
||||
{ 'id': 'guild-server-2', 'host': '172.16.4.195', 'port': 6057 },
|
||||
],
|
||||
'activity': [
|
||||
{ 'id': 'activity-server-1', 'host': '172.16.4.195', 'port': 6058 },
|
||||
],
|
||||
'order': [
|
||||
{ 'id': 'order-server-1', 'host': '172.16.4.195', 'port': 6059 },
|
||||
]
|
||||
},
|
||||
};
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
module.exports = {
|
||||
'appenders': {
|
||||
'console': {
|
||||
'type': 'console'
|
||||
},
|
||||
'con-log': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/con-log-${opts:serverId}.log',
|
||||
'pattern': 'connector',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'rpc-log': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/rpc-log-${opts:serverId}.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'forward-log': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/forward-log-${opts:serverId}.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'rpc-debug': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/rpc-debug-${opts:serverId}.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'crash-log': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/crash.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'admin-log': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/admin.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'pinus': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/pinus-${opts:serverId}.log',
|
||||
'maxLogSize': 1073741824,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 20
|
||||
},
|
||||
'pinus-admin': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/pinus-admin.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'pinus-rpc': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/log4js/pinus-rpc-${opts:serverId}.log',
|
||||
'maxLogSize': 104857600,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'app': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/sls/app.log',
|
||||
'maxLogSize': 1073741824,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 20
|
||||
},
|
||||
'error': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/sls/error.log',
|
||||
'maxLogSize': 1073741824,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
},
|
||||
'ta': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/ta/log',
|
||||
'pattern': 'yyyy-MM-dd-hh',
|
||||
'alwaysIncludePattern': true,
|
||||
'layout': {
|
||||
'type': 'pattern',
|
||||
'pattern': '%m',
|
||||
},
|
||||
'backups': 240,
|
||||
},
|
||||
'item': {
|
||||
'type': 'file',
|
||||
'filename': '/zyz_logs/item/log',
|
||||
'maxLogSize': 1073741824,
|
||||
'layout': {
|
||||
'type': 'basic'
|
||||
},
|
||||
'backups': 5
|
||||
}
|
||||
},
|
||||
|
||||
'categories': {
|
||||
'default': {
|
||||
'appenders': ['console', 'pinus'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'con-log': {
|
||||
'appenders': ['con-log'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'rpc-log': {
|
||||
'appenders': ['rpc-log'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'forward-log': {
|
||||
'appenders': ['forward-log'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'rpc-debug': {
|
||||
'appenders': ['rpc-debug'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'crash-log': {
|
||||
'appenders': ['crash-log'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'admin-log': {
|
||||
'appenders': ['admin-log'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'pinus-admin': {
|
||||
'appenders': ['pinus-admin'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'pinus-rpc': {
|
||||
'appenders': ['pinus-rpc'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'pinus': {
|
||||
'appenders': ['pinus'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'info': {
|
||||
'appenders': ['console', 'app'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'err': {
|
||||
'appenders': ['console', 'error'],
|
||||
'level': 'debug'
|
||||
},
|
||||
'ta': {
|
||||
'appenders': ['console', 'ta'],
|
||||
'level': 'info'
|
||||
},
|
||||
'item': {
|
||||
'appenders': ['console', 'item'],
|
||||
'level': 'info'
|
||||
}
|
||||
|
||||
},
|
||||
'replaceConsole': true,
|
||||
'lineDebug': false,
|
||||
'errorStack': true
|
||||
};
|
||||
Reference in New Issue
Block a user