🐎 ci(config): 6-10服务器配置
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const { zy1, zy2, zy3, zy4, zy5, yjzios } = require("./yjz_zy");
|
||||
const { zy1, zy2, zy3, zy4, zy5, zy6, zy7, zy8, zy9, zy10, yjzios } = require("./yjz_zy");
|
||||
|
||||
module.exports = {
|
||||
'development': {
|
||||
@@ -632,5 +632,10 @@ module.exports = {
|
||||
'zy3': zy3,
|
||||
'zy4': zy4,
|
||||
'zy5': zy5,
|
||||
'zy6': zy6,
|
||||
'zy7': zy7,
|
||||
'zy8': zy8,
|
||||
'zy9': zy9,
|
||||
'zy10': zy10,
|
||||
'yjzios': yjzios,
|
||||
};
|
||||
|
||||
@@ -227,6 +227,246 @@ export const zy5 = {
|
||||
]
|
||||
};
|
||||
|
||||
// 自营服务器 6 配置
|
||||
export const zy6 = {
|
||||
'connector': [
|
||||
{ 'id': 'connector-server-25', 'port': 4051, 'clientHost': 'yjz-zy-game6.fdd73.com', 'host': '172.16.4.174', 'clientPort': 3051, 'frontend': true },
|
||||
{ 'id': 'connector-server-26', 'port': 4052, 'clientHost': 'yjz-zy-game6.fdd73.com', 'host': '172.16.4.174', 'clientPort': 3052, 'frontend': true },
|
||||
{ 'id': 'connector-server-27', 'port': 4053, 'clientHost': 'yjz-zy-game6.fdd73.com', 'host': '172.16.4.174', 'clientPort': 3053, 'frontend': true },
|
||||
{ 'id': 'connector-server-28', 'port': 4054, 'clientHost': 'yjz-zy-game6.fdd73.com', 'host': '172.16.4.174', 'clientPort': 3054, 'frontend': true },
|
||||
{ 'id': 'connector-server-29', 'port': 4055, 'clientHost': 'yjz-zy-game6.fdd73.com', 'host': '172.16.4.174', 'clientPort': 3055, 'frontend': true },
|
||||
{ 'id': 'connector-server-30', 'port': 4056, 'clientHost': 'yjz-zy-game6.fdd73.com', 'host': '172.16.4.174', 'clientPort': 3056, 'frontend': true },
|
||||
],
|
||||
'chat': [
|
||||
{ 'id': 'chat-server-11', 'host': '172.16.4.174', 'port': 6011 },
|
||||
{ 'id': 'chat-server-12', 'host': '172.16.4.174', 'port': 6012 },
|
||||
],
|
||||
'role': [
|
||||
{ 'id': 'role-server-29', 'host': '172.16.4.174', 'port': 6021 },
|
||||
{ 'id': 'role-server-30', 'host': '172.16.4.174', 'port': 6022 },
|
||||
{ 'id': 'role-server-31', 'host': '172.16.4.174', 'port': 6023 },
|
||||
{ 'id': 'role-server-32', 'host': '172.16.4.174', 'port': 6024 },
|
||||
{ 'id': 'role-server-33', 'host': '172.16.4.174', 'port': 6025 },
|
||||
{ 'id': 'role-server-34', 'host': '172.16.4.174', 'port': 6026 },
|
||||
],
|
||||
'battle': [
|
||||
{ 'id': 'battle-server-15', 'host': '172.16.4.174', 'port': 6031 },
|
||||
{ 'id': 'battle-server-16', 'host': '172.16.4.174', 'port': 6032 },
|
||||
],
|
||||
'gm': [],
|
||||
'systimer': [],
|
||||
'guild': [
|
||||
{ 'id': 'guild-server-25', 'host': '172.16.4.174', 'port': 6041 },
|
||||
{ 'id': 'guild-server-26', 'host': '172.16.4.174', 'port': 6042 },
|
||||
{ 'id': 'guild-server-27', 'host': '172.16.4.174', 'port': 6043 },
|
||||
{ 'id': 'guild-server-28', 'host': '172.16.4.174', 'port': 6044 },
|
||||
{ 'id': 'guild-server-29', 'host': '172.16.4.174', 'port': 6045 },
|
||||
{ 'id': 'guild-server-30', 'host': '172.16.4.174', 'port': 6046 },
|
||||
],
|
||||
'activity': [
|
||||
{ 'id': 'activity-server-13', 'host': '172.16.4.174', 'port': 6051 },
|
||||
{ 'id': 'activity-server-14', 'host': '172.16.4.174', 'port': 6052 },
|
||||
{ 'id': 'activity-server-15', 'host': '172.16.4.174', 'port': 6053 },
|
||||
{ 'id': 'activity-server-16', 'host': '172.16.4.174', 'port': 6054 },
|
||||
],
|
||||
'order': [
|
||||
{ 'id': 'order-server-11', 'host': '172.16.4.174', 'port': 6061 },
|
||||
{ 'id': 'order-server-12', 'host': '172.16.4.174', 'port': 6062 },
|
||||
]
|
||||
};
|
||||
|
||||
// 自营服务器 7 配置
|
||||
export const zy7 = {
|
||||
'connector': [
|
||||
{ 'id': 'connector-server-31', 'port': 4051, 'clientHost': 'yjz-zy-game7.fdd73.com', 'host': '172.16.4.173', 'clientPort': 3051, 'frontend': true },
|
||||
{ 'id': 'connector-server-32', 'port': 4052, 'clientHost': 'yjz-zy-game7.fdd73.com', 'host': '172.16.4.173', 'clientPort': 3052, 'frontend': true },
|
||||
{ 'id': 'connector-server-33', 'port': 4053, 'clientHost': 'yjz-zy-game7.fdd73.com', 'host': '172.16.4.173', 'clientPort': 3053, 'frontend': true },
|
||||
{ 'id': 'connector-server-34', 'port': 4054, 'clientHost': 'yjz-zy-game7.fdd73.com', 'host': '172.16.4.173', 'clientPort': 3054, 'frontend': true },
|
||||
{ 'id': 'connector-server-35', 'port': 4055, 'clientHost': 'yjz-zy-game7.fdd73.com', 'host': '172.16.4.173', 'clientPort': 3055, 'frontend': true },
|
||||
{ 'id': 'connector-server-36', 'port': 4056, 'clientHost': 'yjz-zy-game7.fdd73.com', 'host': '172.16.4.173', 'clientPort': 3056, 'frontend': true },
|
||||
],
|
||||
'chat': [
|
||||
{ 'id': 'chat-server-13', 'host': '172.16.4.173', 'port': 6011 },
|
||||
{ 'id': 'chat-server-14', 'host': '172.16.4.173', 'port': 6012 },
|
||||
],
|
||||
'role': [
|
||||
{ 'id': 'role-server-35', 'host': '172.16.4.173', 'port': 6021 },
|
||||
{ 'id': 'role-server-36', 'host': '172.16.4.173', 'port': 6022 },
|
||||
{ 'id': 'role-server-37', 'host': '172.16.4.173', 'port': 6023 },
|
||||
{ 'id': 'role-server-38', 'host': '172.16.4.173', 'port': 6024 },
|
||||
{ 'id': 'role-server-39', 'host': '172.16.4.173', 'port': 6025 },
|
||||
{ 'id': 'role-server-40', 'host': '172.16.4.173', 'port': 6026 },
|
||||
],
|
||||
'battle': [
|
||||
{ 'id': 'battle-server-17', 'host': '172.16.4.173', 'port': 6031 },
|
||||
{ 'id': 'battle-server-18', 'host': '172.16.4.173', 'port': 6032 },
|
||||
],
|
||||
'gm': [],
|
||||
'systimer': [],
|
||||
'guild': [
|
||||
{ 'id': 'guild-server-31', 'host': '172.16.4.173', 'port': 6041 },
|
||||
{ 'id': 'guild-server-32', 'host': '172.16.4.173', 'port': 6042 },
|
||||
{ 'id': 'guild-server-33', 'host': '172.16.4.173', 'port': 6043 },
|
||||
{ 'id': 'guild-server-34', 'host': '172.16.4.173', 'port': 6044 },
|
||||
{ 'id': 'guild-server-35', 'host': '172.16.4.173', 'port': 6045 },
|
||||
{ 'id': 'guild-server-36', 'host': '172.16.4.173', 'port': 6046 },
|
||||
],
|
||||
'activity': [
|
||||
{ 'id': 'activity-server-17', 'host': '172.16.4.173', 'port': 6051 },
|
||||
{ 'id': 'activity-server-18', 'host': '172.16.4.173', 'port': 6052 },
|
||||
{ 'id': 'activity-server-19', 'host': '172.16.4.173', 'port': 6053 },
|
||||
{ 'id': 'activity-server-20', 'host': '172.16.4.173', 'port': 6054 },
|
||||
],
|
||||
'order': [
|
||||
{ 'id': 'order-server-13', 'host': '172.16.4.173', 'port': 6061 },
|
||||
{ 'id': 'order-server-14', 'host': '172.16.4.173', 'port': 6062 },
|
||||
]
|
||||
};
|
||||
|
||||
// 自营服务器 8 配置
|
||||
export const zy8 = {
|
||||
'connector': [
|
||||
{ 'id': 'connector-server-37', 'port': 4051, 'clientHost': 'yjz-zy-game8.fdd73.com', 'host': '172.16.4.169', 'clientPort': 3051, 'frontend': true },
|
||||
{ 'id': 'connector-server-38', 'port': 4052, 'clientHost': 'yjz-zy-game8.fdd73.com', 'host': '172.16.4.169', 'clientPort': 3052, 'frontend': true },
|
||||
{ 'id': 'connector-server-39', 'port': 4053, 'clientHost': 'yjz-zy-game8.fdd73.com', 'host': '172.16.4.169', 'clientPort': 3053, 'frontend': true },
|
||||
{ 'id': 'connector-server-40', 'port': 4054, 'clientHost': 'yjz-zy-game8.fdd73.com', 'host': '172.16.4.169', 'clientPort': 3054, 'frontend': true },
|
||||
{ 'id': 'connector-server-41', 'port': 4055, 'clientHost': 'yjz-zy-game8.fdd73.com', 'host': '172.16.4.169', 'clientPort': 3055, 'frontend': true },
|
||||
{ 'id': 'connector-server-42', 'port': 4056, 'clientHost': 'yjz-zy-game8.fdd73.com', 'host': '172.16.4.169', 'clientPort': 3056, 'frontend': true },
|
||||
],
|
||||
'chat': [
|
||||
{ 'id': 'chat-server-15', 'host': '172.16.4.169', 'port': 6011 },
|
||||
{ 'id': 'chat-server-16', 'host': '172.16.4.169', 'port': 6012 },
|
||||
],
|
||||
'role': [
|
||||
{ 'id': 'role-server-41', 'host': '172.16.4.169', 'port': 6021 },
|
||||
{ 'id': 'role-server-42', 'host': '172.16.4.169', 'port': 6022 },
|
||||
{ 'id': 'role-server-43', 'host': '172.16.4.169', 'port': 6023 },
|
||||
{ 'id': 'role-server-44', 'host': '172.16.4.169', 'port': 6024 },
|
||||
{ 'id': 'role-server-45', 'host': '172.16.4.169', 'port': 6025 },
|
||||
{ 'id': 'role-server-46', 'host': '172.16.4.169', 'port': 6026 },
|
||||
],
|
||||
'battle': [
|
||||
{ 'id': 'battle-server-19', 'host': '172.16.4.169', 'port': 6031 },
|
||||
{ 'id': 'battle-server-20', 'host': '172.16.4.169', 'port': 6032 },
|
||||
],
|
||||
'gm': [],
|
||||
'systimer': [],
|
||||
'guild': [
|
||||
{ 'id': 'guild-server-37', 'host': '172.16.4.169', 'port': 6041 },
|
||||
{ 'id': 'guild-server-38', 'host': '172.16.4.169', 'port': 6042 },
|
||||
{ 'id': 'guild-server-39', 'host': '172.16.4.169', 'port': 6043 },
|
||||
{ 'id': 'guild-server-40', 'host': '172.16.4.169', 'port': 6044 },
|
||||
{ 'id': 'guild-server-41', 'host': '172.16.4.169', 'port': 6045 },
|
||||
{ 'id': 'guild-server-42', 'host': '172.16.4.169', 'port': 6046 },
|
||||
],
|
||||
'activity': [
|
||||
{ 'id': 'activity-server-21', 'host': '172.16.4.169', 'port': 6051 },
|
||||
{ 'id': 'activity-server-22', 'host': '172.16.4.169', 'port': 6052 },
|
||||
{ 'id': 'activity-server-23', 'host': '172.16.4.169', 'port': 6053 },
|
||||
{ 'id': 'activity-server-24', 'host': '172.16.4.169', 'port': 6054 },
|
||||
],
|
||||
'order': [
|
||||
{ 'id': 'order-server-15', 'host': '172.16.4.169', 'port': 6061 },
|
||||
{ 'id': 'order-server-16', 'host': '172.16.4.169', 'port': 6062 },
|
||||
]
|
||||
};
|
||||
|
||||
// 自营服务器 9 配置
|
||||
export const zy9 = {
|
||||
'connector': [
|
||||
{ 'id': 'connector-server-43', 'port': 4051, 'clientHost': 'yjz-zy-game9.fdd73.com', 'host': '172.16.4.176', 'clientPort': 3051, 'frontend': true },
|
||||
{ 'id': 'connector-server-44', 'port': 4052, 'clientHost': 'yjz-zy-game9.fdd73.com', 'host': '172.16.4.176', 'clientPort': 3052, 'frontend': true },
|
||||
{ 'id': 'connector-server-45', 'port': 4053, 'clientHost': 'yjz-zy-game9.fdd73.com', 'host': '172.16.4.176', 'clientPort': 3053, 'frontend': true },
|
||||
{ 'id': 'connector-server-46', 'port': 4054, 'clientHost': 'yjz-zy-game9.fdd73.com', 'host': '172.16.4.176', 'clientPort': 3054, 'frontend': true },
|
||||
{ 'id': 'connector-server-47', 'port': 4055, 'clientHost': 'yjz-zy-game9.fdd73.com', 'host': '172.16.4.176', 'clientPort': 3055, 'frontend': true },
|
||||
{ 'id': 'connector-server-48', 'port': 4056, 'clientHost': 'yjz-zy-game9.fdd73.com', 'host': '172.16.4.176', 'clientPort': 3056, 'frontend': true },
|
||||
],
|
||||
'chat': [
|
||||
{ 'id': 'chat-server-17', 'host': '172.16.4.176', 'port': 6011 },
|
||||
{ 'id': 'chat-server-18', 'host': '172.16.4.176', 'port': 6012 },
|
||||
],
|
||||
'role': [
|
||||
{ 'id': 'role-server-47', 'host': '172.16.4.176', 'port': 6021 },
|
||||
{ 'id': 'role-server-48', 'host': '172.16.4.176', 'port': 6022 },
|
||||
{ 'id': 'role-server-49', 'host': '172.16.4.176', 'port': 6023 },
|
||||
{ 'id': 'role-server-50', 'host': '172.16.4.176', 'port': 6024 },
|
||||
{ 'id': 'role-server-51', 'host': '172.16.4.176', 'port': 6025 },
|
||||
{ 'id': 'role-server-52', 'host': '172.16.4.176', 'port': 6026 },
|
||||
],
|
||||
'battle': [
|
||||
{ 'id': 'battle-server-21', 'host': '172.16.4.176', 'port': 6031 },
|
||||
{ 'id': 'battle-server-22', 'host': '172.16.4.176', 'port': 6032 },
|
||||
],
|
||||
'gm': [],
|
||||
'systimer': [],
|
||||
'guild': [
|
||||
{ 'id': 'guild-server-43', 'host': '172.16.4.176', 'port': 6041 },
|
||||
{ 'id': 'guild-server-44', 'host': '172.16.4.176', 'port': 6042 },
|
||||
{ 'id': 'guild-server-45', 'host': '172.16.4.176', 'port': 6043 },
|
||||
{ 'id': 'guild-server-46', 'host': '172.16.4.176', 'port': 6044 },
|
||||
{ 'id': 'guild-server-47', 'host': '172.16.4.176', 'port': 6045 },
|
||||
{ 'id': 'guild-server-48', 'host': '172.16.4.176', 'port': 6046 },
|
||||
],
|
||||
'activity': [
|
||||
{ 'id': 'activity-server-25', 'host': '172.16.4.176', 'port': 6051 },
|
||||
{ 'id': 'activity-server-26', 'host': '172.16.4.176', 'port': 6052 },
|
||||
{ 'id': 'activity-server-27', 'host': '172.16.4.176', 'port': 6053 },
|
||||
{ 'id': 'activity-server-28', 'host': '172.16.4.176', 'port': 6054 },
|
||||
],
|
||||
'order': [
|
||||
{ 'id': 'order-server-17', 'host': '172.16.4.176', 'port': 6061 },
|
||||
{ 'id': 'order-server-18', 'host': '172.16.4.176', 'port': 6062 },
|
||||
]
|
||||
};
|
||||
|
||||
// 自营服务器 10 配置
|
||||
export const zy10 = {
|
||||
'connector': [
|
||||
{ 'id': 'connector-server-49', 'port': 4051, 'clientHost': 'yjz-zy-game10.fdd73.com', 'host': '172.16.4.171', 'clientPort': 3051, 'frontend': true },
|
||||
{ 'id': 'connector-server-50', 'port': 4052, 'clientHost': 'yjz-zy-game10.fdd73.com', 'host': '172.16.4.171', 'clientPort': 3052, 'frontend': true },
|
||||
{ 'id': 'connector-server-51', 'port': 4053, 'clientHost': 'yjz-zy-game10.fdd73.com', 'host': '172.16.4.171', 'clientPort': 3053, 'frontend': true },
|
||||
{ 'id': 'connector-server-52', 'port': 4054, 'clientHost': 'yjz-zy-game10.fdd73.com', 'host': '172.16.4.171', 'clientPort': 3054, 'frontend': true },
|
||||
{ 'id': 'connector-server-53', 'port': 4055, 'clientHost': 'yjz-zy-game10.fdd73.com', 'host': '172.16.4.171', 'clientPort': 3055, 'frontend': true },
|
||||
{ 'id': 'connector-server-54', 'port': 4056, 'clientHost': 'yjz-zy-game10.fdd73.com', 'host': '172.16.4.171', 'clientPort': 3056, 'frontend': true },
|
||||
],
|
||||
'chat': [
|
||||
{ 'id': 'chat-server-19', 'host': '172.16.4.171', 'port': 6011 },
|
||||
{ 'id': 'chat-server-20', 'host': '172.16.4.171', 'port': 6012 },
|
||||
],
|
||||
'role': [
|
||||
{ 'id': 'role-server-53', 'host': '172.16.4.171', 'port': 6021 },
|
||||
{ 'id': 'role-server-54', 'host': '172.16.4.171', 'port': 6022 },
|
||||
{ 'id': 'role-server-55', 'host': '172.16.4.171', 'port': 6023 },
|
||||
{ 'id': 'role-server-56', 'host': '172.16.4.171', 'port': 6024 },
|
||||
{ 'id': 'role-server-57', 'host': '172.16.4.171', 'port': 6025 },
|
||||
{ 'id': 'role-server-58', 'host': '172.16.4.171', 'port': 6026 },
|
||||
],
|
||||
'battle': [
|
||||
{ 'id': 'battle-server-23', 'host': '172.16.4.171', 'port': 6031 },
|
||||
{ 'id': 'battle-server-24', 'host': '172.16.4.171', 'port': 6032 },
|
||||
],
|
||||
'gm': [],
|
||||
'systimer': [],
|
||||
'guild': [
|
||||
{ 'id': 'guild-server-49', 'host': '172.16.4.171', 'port': 6041 },
|
||||
{ 'id': 'guild-server-50', 'host': '172.16.4.171', 'port': 6042 },
|
||||
{ 'id': 'guild-server-51', 'host': '172.16.4.171', 'port': 6043 },
|
||||
{ 'id': 'guild-server-52', 'host': '172.16.4.171', 'port': 6044 },
|
||||
{ 'id': 'guild-server-53', 'host': '172.16.4.171', 'port': 6045 },
|
||||
{ 'id': 'guild-server-54', 'host': '172.16.4.171', 'port': 6046 },
|
||||
],
|
||||
'activity': [
|
||||
{ 'id': 'activity-server-29', 'host': '172.16.4.171', 'port': 6051 },
|
||||
{ 'id': 'activity-server-30', 'host': '172.16.4.171', 'port': 6052 },
|
||||
{ 'id': 'activity-server-31', 'host': '172.16.4.171', 'port': 6053 },
|
||||
{ 'id': 'activity-server-32', 'host': '172.16.4.171', 'port': 6054 },
|
||||
],
|
||||
'order': [
|
||||
{ 'id': 'order-server-19', 'host': '172.16.4.171', 'port': 6061 },
|
||||
{ 'id': 'order-server-20', 'host': '172.16.4.171', 'port': 6062 },
|
||||
]
|
||||
};
|
||||
|
||||
// ios提审
|
||||
export const yjzios = {
|
||||
'connector': [
|
||||
|
||||
@@ -89,6 +89,26 @@ elif [ ${1} == 'zy5' ] ; then
|
||||
destUrl="root@yjz-zy-game5:/root/zyz/"
|
||||
port=22
|
||||
env='zy1'
|
||||
elif [ ${1} == 'zy6' ] ; then
|
||||
destUrl="root@yjz-zy-game6:/root/zyz/"
|
||||
port=22
|
||||
env='zy1'
|
||||
elif [ ${1} == 'zy7' ] ; then
|
||||
destUrl="root@yjz-zy-game7:/root/zyz/"
|
||||
port=22
|
||||
env='zy1'
|
||||
elif [ ${1} == 'zy8' ] ; then
|
||||
destUrl="root@yjz-zy-game8:/root/zyz/"
|
||||
port=22
|
||||
env='zy1'
|
||||
elif [ ${1} == 'zy9' ] ; then
|
||||
destUrl="root@yjz-zy-game9:/root/zyz/"
|
||||
port=22
|
||||
env='zy1'
|
||||
elif [ ${1} == 'zy10' ] ; then
|
||||
destUrl="root@yjz-zy-game10:/root/zyz/"
|
||||
port=22
|
||||
env='zy1'
|
||||
elif [ ${1} == 'zyweb1' ] ; then
|
||||
destUrl="root@yjz-zy-web1:/root/zyz/"
|
||||
port=22
|
||||
|
||||
Reference in New Issue
Block a user