配置:设置云测服环境变量为stable

This commit is contained in:
luying
2021-12-27 14:19:16 +08:00
parent 8854f40eef
commit 433a1ec214
2 changed files with 14 additions and 21 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ filePath.CONFIG_DIR = '/config';
const adminfilePath = _pinus.DEFAULT_ADMIN_PATH; const adminfilePath = _pinus.DEFAULT_ADMIN_PATH;
adminfilePath.ADMIN_FILENAME = 'adminUser'; adminfilePath.ADMIN_FILENAME = 'adminUser';
adminfilePath.ADMIN_USER = 'config/adminUser'; adminfilePath.ADMIN_USER = 'config/adminUser';
const ALL_ENVS = 'production|development|alpha|dev|isbn|monitor|distribute|sq1'; const ALL_ENVS = 'stable|development|alpha|dev|isbn|monitor|distribute|sq1';
/** /**
* 替换全局Promise * 替换全局Promise
* 自动解析sourcemap * 自动解析sourcemap
+13 -20
View File
@@ -52,44 +52,37 @@ module.exports = {
}, },
'stable': { 'stable': {
'connector': [ 'connector': [
{ 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'zyz_web.trgame.cn', 'host': '127.0.0.1', 'clientPort': 3050, 'frontend': true }, { 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'zyz_web.trgame.cn', 'host': '172.26.145.155', 'clientPort': 3050, 'frontend': true },
{ 'id': 'connector-server-2', 'port': 4051, 'clientHost': 'zyz_web.trgame.cn', 'host': '127.0.0.1', 'clientPort': 3051, 'frontend': true }, { 'id': 'connector-server-2', 'port': 4051, 'clientHost': 'zyz_web.trgame.cn', 'host': '172.26.145.155', 'clientPort': 3051, 'frontend': true },
{ 'id': 'connector-server-3', 'port': 4052, 'clientHost': 'zyz_web.trgame.cn', 'host': '127.0.0.1', 'clientPort': 3052, 'frontend': true } { 'id': 'connector-server-3', 'port': 4052, 'clientHost': 'zyz_web.trgame.cn', 'host': '172.26.145.155', 'clientPort': 3052, 'frontend': true }
], ],
'chat': [ 'chat': [
{ 'id': 'chat-server-1', 'host': '127.0.0.1', 'port': 6050 }, { 'id': 'chat-server-1', 'host': '172.26.145.155', 'port': 6050 },
], ],
'role': [ 'role': [
{ 'id': 'role-server-1', 'host': '127.0.0.1', 'port': 6053 } { 'id': 'role-server-1', 'host': '172.26.145.155', 'port': 6053 }
], ],
'battle': [ 'battle': [
{ 'id': 'battle-server-1', 'host': '127.0.0.1', 'port': 6054 } { 'id': 'battle-server-1', 'host': '172.26.145.155', 'port': 6054 }
], ],
'gate': [ 'gate': [
{ 'id': 'gate-server-1', 'host': '127.0.0.1', 'clientHost': 'zyz_web.trgame.cn', 'clientPort': 3014, 'frontend': true }, { 'id': 'gate-server-1', 'host': '172.26.145.155', 'clientHost': 'zyz_web.trgame.cn', 'clientPort': 3014, 'frontend': true }
{
'id': 'gate-server-2',
'host': '127.0.0.1',
'clientHost': 'zyz_web.trgame.cn',
'clientPort': 3015,
'frontend': true
}
], ],
'gm': [ 'gm': [
{ 'id': 'gm-server-1', 'host': '127.0.0.1', 'port': 6055 } { 'id': 'gm-server-1', 'host': '172.26.145.155', 'port': 6055 }
], ],
'systimer': [ 'systimer': [
{ 'id': 'systimer-server-1', 'host': '127.0.0.1', 'port': 6056 } { 'id': 'systimer-server-1', 'host': '172.26.145.155', 'port': 6056 }
], ],
'guild': [ 'guild': [
{ 'id': 'guild-server-1', 'host': '127.0.0.1', 'port': 6057, "args": " --inspect=9239" }, { 'id': 'guild-server-1', 'host': '172.26.145.155', 'port': 6057, "args": " --inspect=9239" },
{ 'id': 'guild-server-2', 'host': '127.0.0.1', 'port': 6058, "args": " --inspect=9240" } { 'id': 'guild-server-2', 'host': '172.26.145.155', 'port': 6058, "args": " --inspect=9240" }
], ],
'activity': [ 'activity': [
{ 'id': 'activity-server-1', 'host': '127.0.0.1', 'port': 6059, "args": " --inspect=9241" }, { 'id': 'activity-server-1', 'host': '172.26.145.155', 'port': 6059, "args": " --inspect=9241" },
], ],
'order': [ 'order': [
{ 'id': 'order-server-1', 'host': '127.0.0.1', 'port': 6060, "args": " --inspect=9242" }, { 'id': 'order-server-1', 'host': '172.26.145.155', 'port': 6060, "args": " --inspect=9242" },
] ]
}, },
'alpha': { 'alpha': {