🐎 ci(配置): ios提审服

This commit is contained in:
luying
2023-04-24 13:48:29 +08:00
parent 9392bd157e
commit 740d94280d
10 changed files with 346 additions and 4 deletions

View File

@@ -91,5 +91,11 @@ module.exports = {
'redispw': 'hWCJ$HDajm9SN&&Z',
'redisLock': 'r-8vbjy2v5jepcsozyum.redis.zhangbei.rds.aliyuncs.com',
'redisLockpw': 'hWCJ$HDajm9SN&&Z'
}
},
'yjzios': { // 公测ios审核服
'mongo': 'mongodb://yjzDbOp:yjz2023ZyDB@dds-j6c3bd7dc950fad41.mongodb.rds.aliyuncs.com:3717,dds-j6c3bd7dc950fad42.mongodb.rds.aliyuncs.com:3717/zyz?replicaSet=mgset-67758677',
'gmmongo': 'mongodb://yjzGmDbOp:yjz2023ZyGmDB@dds-8vbdf8c89bbdbd241580-pub.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbdf8c89bbdbd242705-pub.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbdf8c89bbdbd243998-pub.mongodb.zhangbei.rds.aliyuncs.com:3717,dds-8vbdf8c89bbdbd244698-pub.mongodb.zhangbei.rds.aliyuncs.com:3717/admin?readPreference=secondary&replicaSet=mgset-515829436',
'redis': 'r-j6cnm99s202onoig1v.redis.rds.aliyuncs.com',
'redispw': 'hWCJ$HDajm9SN&&Z'
},
};

View File

@@ -124,4 +124,9 @@ module.exports = {
'host': '172.16.4.140',
'port': 3005
},
'yjzios': {
'id': 'master-server-1',
'host': '172.31.237.140',
'port': 3005
},
};

View File

@@ -1,4 +1,4 @@
const { zy1, zy2, zy3, zy4, zy5 } = require("./yjz_zy");
const { zy1, zy2, zy3, zy4, zy5, yjzios } = require("./yjz_zy");
module.exports = {
'development': {
@@ -632,4 +632,5 @@ module.exports = {
'zy3': zy3,
'zy4': zy4,
'zy5': zy5,
'yjzios': yjzios,
};

View File

@@ -226,3 +226,37 @@ export const zy5 = {
{ 'id': 'order-server-10', 'host': '172.16.4.141', 'port': 6062 },
]
};
// ios提审
export const yjzios = {
'connector': [
{ 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'yjz-ios-review-game.fdd73.com', 'host': '172.31.237.140', 'clientPort': 3050, 'frontend': true },
],
'chat': [
{ 'id': 'chat-server-1', 'host': '172.31.237.140', 'port': 6050 },
],
'role': [
{ 'id': 'role-server-1', 'host': '172.31.237.140', 'port': 6053 }
],
'battle': [
{ 'id': 'battle-server-1', 'host': '172.31.237.140', 'port': 6054 }
],
'gate': [
{ 'id': 'gate-server-1', 'host': '172.31.237.140', 'clientHost': 'pinus_test.trgame.cn', 'clientPort': 3014, 'frontend': true }
],
'gm': [
{ 'id': 'gm-server-1', 'host': '172.31.237.140', 'port': 6055 }
],
'systimer': [
{ 'id': 'systimer-server-1', 'host': '172.31.237.140', 'port': 6056 }
],
'guild': [
{ 'id': 'guild-server-1', 'host': '172.31.237.140', 'port': 6061, "args": " --inspect=9239" },
],
'activity': [
{ 'id': 'activity-server-1', 'host': '172.31.237.140', 'port': 6059, "args": " --inspect=9241" },
],
'order': [
{ 'id': 'order-server-1', 'host': '172.31.237.140', 'port': 6060, "args": " --inspect=9242" },
]
};

View File

@@ -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
};