| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- <?xml version="1.0" encoding="utf-8"?>
- <doc>
- <!-- #################################################################################### -->
- <define name="GameNodeDefine" param1="" param2="">
- </define>
- <!-- #################################################################################### -->
- <!-- IService全局配置 -->
- <GlobalConfig>
- <Env>dev</Env>
- <Realm>1</Realm>
- <Mysql></Mysql>
- <AcceptClientVersion>0.0.0</AcceptClientVersion>
- <TemplateRoot>../../data/ServerData/</TemplateRoot>
- <NoticeErrorUrl>https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=d9d262b8-17c8-4297-8b9f-bb1b7f72ac89</NoticeErrorUrl>
- <DebugPay>true</DebugPay>
- <BattleRecordURLPrefix>https://zqtfcn.oss-cn-shanghai.aliyuncs.com/apollo_dev/server/playback/</BattleRecordURLPrefix>
- </GlobalConfig>
- <!-- #################################################################################### -->
- <!-- 根节点配置,负责管理所有的ServiceNode,全局唯一节点 -->
- <NameServer>
- <RpcConfig>
- <LocalEndPoint>127.0.0.1:17000</LocalEndPoint>
- <NetworkTimeoutMS>15000</NetworkTimeoutMS>
- <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
- </RpcConfig>
- </NameServer>
- <!-- #################################################################################### -->
- <!-- 所有服务节点配置,服务节点为具体服务的容器 -->
- <ServiceNodes>
-
- <!-- 账号服务节点 -->
- <AccountNode1>
- <Redis>127.0.0.1,password=tmKjD1ENs3HfZ7adzLJO!,allowAdmin=true,syncTimeout=30000,responseTimeout=30000,connectRetry=1000,connectTimeout=10000;db=1</Redis>
- <RpcConfig>
- <LocalNodeType>AccountNode</LocalNodeType>
- <LocalNodeName>AccountNode1</LocalNodeName>
- <LocalEndPoint>127.0.0.1:17010</LocalEndPoint>
- <NameServerEndPoint>127.0.0.1:17000</NameServerEndPoint>
- <RequestTickTimeMS>5000</RequestTickTimeMS>
- <NetworkTimeoutMS>30000</NetworkTimeoutMS>
- <DefaultTaskExecuteTimeout>60000</DefaultTaskExecuteTimeout>
- <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
- <AcceptTypeMappings>
- <AccountServer>OpenCards.Server.Account.AccountServer</AccountServer>
- </AcceptTypeMappings>
- </RpcConfig>
- <StartService>
- <AccountServer>
- <ServiceName>AccountServer</ServiceName>
- <ServiceType>AccountServer</ServiceType>
- <Config>
- <HttpListen>http://+:18081/account/</HttpListen>
- <SecretKey>3dbf6b137a80d10953507929a0216d8b</SecretKey>
- <ServerListUrl>http://43.226.57.217:8007/apollo_60000/serverlist.json</ServerListUrl>
- <YmnCheckUrl>https://heimdall.vgplay.vn/check</YmnCheckUrl>
- <client_storage_url>http://43.226.57.217:8007/apollo_60000/</client_storage_url>
- <apply_app_verison>0.0.0</apply_app_verison>
- <apply_server_id>2</apply_server_id>
- <StopServerDataURL>http://43.226.57.217:8007/apollo_60000/stop_server_list.json</StopServerDataURL>
- <UpdateServerConfig>http://43.226.57.217:8007/apollo_60000/update_server_config.json</UpdateServerConfig>
- </Config>
- </AccountServer>
- </StartService>
- </AccountNode1>
-
- <!-- 公共服务节点 -->
- <PublicNode>
- <Redis>127.0.0.1,password=tmKjD1ENs3HfZ7adzLJO!,allowAdmin=true,syncTimeout=30000,responseTimeout=30000,connectRetry=1000,connectTimeout=10000;db=1</Redis>
- <Mysql>server=127.0.0.1;User ID=root;Password=CmASfW98lOKbFieqEQox;database=orm</Mysql>
- <RpcConfig>
- <LocalNodeType>PublicNode</LocalNodeType>
- <LocalNodeName>PublicNode</LocalNodeName>
- <LocalEndPoint>127.0.0.1:17060</LocalEndPoint>
- <NameServerEndPoint>127.0.0.1:17000</NameServerEndPoint>
- <RequestTickTimeMS>5000</RequestTickTimeMS>
- <NetworkTimeoutMS>30000</NetworkTimeoutMS>
- <DefaultTaskExecuteTimeout>60000</DefaultTaskExecuteTimeout>
- <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
- <AcceptTypeMappings>
- <GuildService>OpenCards.Service.Guild.GuildService</GuildService>
- <!-- <CenterService>OpenCards.Service.Center.CenterService</CenterService> -->
- <PublicService>OpenCards.Service.Public.PublicService</PublicService>
- <PayServer>OpenCards.Service.Pay.PayServer</PayServer>
- <FriendService>OpenCards.Service.Friend.FriendService</FriendService>
- <ChatService>OpenCards.Service.Chat.ChatService</ChatService>
- <ArenaPinnacleService>OpenCards.Server.Arena.ArenaPinnacleService</ArenaPinnacleService>
- <AdminService>OpenCards.Service.Admin.AdminService</AdminService>
- <BillService>OpenCards.Service.Bill.BillService</BillService>
- <AccountServer>OpenCards.Server.Account.AccountServer</AccountServer>
- </AcceptTypeMappings>
- </RpcConfig>
- <StartService>
- <AccountServer>
- <ServiceName>AccountServer</ServiceName>
- <ServiceType>AccountServer</ServiceType>
- <Config>
- <HttpListen>http://+:18081/account/</HttpListen>
- <SecretKey>3dbf6b137a80d10953507929a0216d8b</SecretKey>
- <ServerListUrl>http://43.226.57.217:8007/apollo_60000/serverlist.json</ServerListUrl>
- <YmnCheckUrl>https://heimdall.vgplay.vn/check</YmnCheckUrl>
- <client_storage_url>http://43.226.57.217:8007/apollo_60000/</client_storage_url>
- <apply_app_verison>0.0.0</apply_app_verison>
- <apply_server_id>2</apply_server_id>
- <!-- <Apply_Server_ID_URL>47.250.46.43:19821</Apply_Server_ID_URL>
- <Apply_Bind_Verison>0.1.9</Apply_Bind_Verison> -->
- <StopServerDataURL>http://43.226.57.217:8007/apollo_60000/stop_server_list.json</StopServerDataURL>
- <UpdateServerConfig>http://43.226.57.217:8007/apollo_60000/update_server_config.json</UpdateServerConfig>
- </Config>
- </AccountServer>
- <BillService>
- <ServiceName>BillService</ServiceName>
- <ServiceType>BillService</ServiceType>
- <Config>
- <platform>oss</platform>
- <accessKeyId>LTAI4GF8sN2RpWMyfqRy1swY</accessKeyId>
- <accessKeySecret>2vuPQ4eBoWYAZLsCNCbfJmVNP1EIxv</accessKeySecret>
- <endpoint>https://oss-cn-shanghai.aliyuncs.com/</endpoint>
- <path>apollo_60000/server/playback/{0}/{1}</path>
- <bucketName>zqtfcn</bucketName>
- </Config>
- </BillService>
- <GuildService>
- <ServiceName>GuildService</ServiceName>
- <ServiceType>GuildService</ServiceType>
- <Config></Config>
- </GuildService>
- <PublicService>
- <ServiceName>PublicService</ServiceName>
- <ServiceType>PublicService</ServiceType>
- <Config></Config>
- </PublicService>
- <PayServer>
- <ServiceName>PayServer</ServiceName>
- <ServiceType>PayServer</ServiceType>
- <Config>
- <HttpListen>http://+:18082/pay/</HttpListen>
- <SecretKey>643752757fde484d03adc694b2462322</SecretKey>
- <NotifyUrl>http://127.0.0.1:18082/pay/deliver</NotifyUrl>
- <Mysql>server=127.0.0.1;User ID=root;Password=CmASfW98lOKbFieqEQox;database=dbpay;</Mysql>
- </Config>
- </PayServer>
- <FriendService>
- <ServiceName>FriendService</ServiceName>
- <ServiceType>FriendService</ServiceType>
- <Config></Config>
- </FriendService>
- <ChatService>
- <ServiceName>ChatService</ServiceName>
- <ServiceType>ChatService</ServiceType>
- <Config>
- <HttpListen>http://+:18089/chat/</HttpListen>
- <AppKey>YOUME77489D86AE5330CCFFB62E3BB8B4C6B4F48AA54A</AppKey>
- <AppSecret>rItImoJh1R593aBuzrVzzq4yDSFAxHwEDH2EXp40nX8ISeb2Tn/xVAjGreDuFILst50JIlpFRCStbOHk8h9XyLZ5Pcd992f8L0D6GUg60gQyxr9gCvrR/HF0QQHdWN2KxAOTYhVP6G/htOY/bxmtJbQw0Yn/+Yd3T9n69cCQS+0BAAE=</AppSecret>
- </Config>
- </ChatService>
- <ArenaPinnacleService>
- <ServiceName>ArenaPinnacleService</ServiceName>
- <ServiceType>ArenaPinnacleService</ServiceType>
- <Config></Config>
- </ArenaPinnacleService>
- <AdminService>
- <ServiceName>AdminService</ServiceName>
- <ServiceType>AdminService</ServiceType>
- <Config>
- <HttpListen>http://+:18088/api/</HttpListen>
- <APIKey>SeaOfVanGuard</APIKey>
- <GMTBaseUrl>http://127.0.0.1:7001</GMTBaseUrl>
- <AccountUrl>http://127.0.0.1:18081/account/</AccountUrl>
- <PayUrl>http://127.0.0.1:18082/pay/</PayUrl>
- </Config>
- </AdminService>
- </StartService>
- </PublicNode>
- <!-- 游戏服节点 -->
- <GameNode1>
- <Redis>127.0.0.1,password=tmKjD1ENs3HfZ7adzLJO!,allowAdmin=true,syncTimeout=30000,responseTimeout=30000,connectRetry=1000,connectTimeout=10000;db=1</Redis>
- <Mysql>server=127.0.0.1;User ID=root;Password=CmASfW98lOKbFieqEQox;database=orm</Mysql>
- <Ip>127.0.0.1</Ip>
- <RpcConfig>
- <LocalNodeType>GameNode</LocalNodeType>
- <LocalNodeName>GameNode1</LocalNodeName>
- <LocalEndPoint>127.0.0.1:17020</LocalEndPoint>
- <NameServerEndPoint>127.0.0.1:17000</NameServerEndPoint>
- <RequestTickTimeMS>5000</RequestTickTimeMS>
- <NetworkTimeoutMS>30000</NetworkTimeoutMS>
- <DefaultTaskExecuteTimeout>60000</DefaultTaskExecuteTimeout>
- <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
- <AcceptTypeMappings>
- <CenterService>OpenCards.Service.Center.CenterService</CenterService>
- <AccountServer>OpenCards.Server.Account.AccountServer</AccountServer>
- <ConnectorService>OpenCards.Server.Connector.ConnectorService</ConnectorService>
- <ArenaPinnacleGameService>OpenCards.Server.Arena.ArenaPinnacleGameService</ArenaPinnacleGameService>
- <ArenaManagerService>OpenCards.Server.Arena.ArenaManagerService</ArenaManagerService>
- <ArenaValorService>OpenCards.Server.Arena.ArenaValorService</ArenaValorService>
- <ArenaHighendService>OpenCards.Server.Arena.ArenaHighendService</ArenaHighendService>
- <SessionService>OpenCards.Server.Connector.SessionService</SessionService>
- <LogicService>OpenCards.Server.Logic.LogicService</LogicService>
- <LogicManagerService>OpenCards.Server.Logic.LogicManagerService</LogicManagerService>
- <StageRankService>OpenCards.Service.StageRank.StageRankService</StageRankService>
- </AcceptTypeMappings>
- </RpcConfig>
- <StartService>
- <!-- LogicManagerService -->
- <LogicManagerService>
- <ServiceName>LogicManagerService_1</ServiceName>
- <ServiceType>LogicManagerService</ServiceType>
- <Config>
- <FightPostURL>http://127.0.0.1:8088/fight/reqstartbattle</FightPostURL>
- <serverID>1</serverID>
- </Config>
- </LogicManagerService>
- <!-- Center -->
- <CenterService>
- <ServiceName>CenterService_1</ServiceName>
- <ServiceType>CenterService</ServiceType>
- <Config>
- <serverID>1</serverID>
- </Config>
- </CenterService>
- <StageRankService>
- <ServiceName>StageRankService</ServiceName>
- <ServiceType>StageRankService</ServiceType>
- <Config>
- <serverID>1</serverID>
- </Config>
- </StageRankService>
-
- <!-- ArenaManager -->
- <ArenaManagerService>
- <ServiceName>ArenaPinnacleGameService_1</ServiceName>
- <ServiceType>ArenaPinnacleGameService</ServiceType>
- <Config>
- <ServerID>1</ServerID>
- </Config>
- </ArenaManagerService>
- <!-- ArenaManager -->
- <ArenaManagerService>
- <ServiceName>ArenaManagerService_1</ServiceName>
- <ServiceType>ArenaManagerService</ServiceType>
- <Config>
- <ServerID>1</ServerID>
- </Config>
- </ArenaManagerService>
- <!-- ArenaHighend -->
- <ArenaHighendService>
- <ServiceName>ArenaHighendService_1</ServiceName>
- <ServiceType>ArenaHighendService</ServiceType>
- <Config></Config>
- </ArenaHighendService>
- <!-- Connector -->
- <ConnectorService>
- <ServiceName>ConnectorService_1</ServiceName>
- <ServiceType>ConnectorService</ServiceType>
- <Config>
- <ServerId>1</ServerId>
- <Host>0.0.0.0</Host>
- <Port>19821</Port>
- <NetCodec>OpenCards.Core.Serializer</NetCodec>
- <KeepAlive>true</KeepAlive>
- <KeepAliveInterval>30000</KeepAliveInterval>
- <RecvBufferSize>16384</RecvBufferSize>
- <SendBufferSize>16384</SendBufferSize>
- <MaxConnections>300000</MaxConnections>
- </Config>
- </ConnectorService>
- </StartService>
- </GameNode1>
- <!-- 游戏服节点 -->
- <GameNode2>
- <Redis>127.0.0.1,password=tmKjD1ENs3HfZ7adzLJO!,allowAdmin=true,syncTimeout=30000,responseTimeout=30000,connectRetry=1000,connectTimeout=10000;db=2</Redis>
- <Mysql>server=127.0.0.1;User ID=root;Password=CmASfW98lOKbFieqEQox;database=orm</Mysql>
- <Ip>127.0.0.1</Ip>
- <RpcConfig>
- <LocalNodeType>GameNode</LocalNodeType>
- <LocalNodeName>GameNode2</LocalNodeName>
- <LocalEndPoint>127.0.0.1:17021</LocalEndPoint>
- <NameServerEndPoint>127.0.0.1:17000</NameServerEndPoint>
- <RequestTickTimeMS>5000</RequestTickTimeMS>
- <NetworkTimeoutMS>30000</NetworkTimeoutMS>
- <DefaultTaskExecuteTimeout>60000</DefaultTaskExecuteTimeout>
- <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
- <AcceptTypeMappings>
- <CenterService>OpenCards.Service.Center.CenterService</CenterService>
- <AccountServer>OpenCards.Server.Account.AccountServer</AccountServer>
- <ConnectorService>OpenCards.Server.Connector.ConnectorService</ConnectorService>
- <ArenaManagerService>OpenCards.Server.Arena.ArenaManagerService</ArenaManagerService>
- <ArenaValorService>OpenCards.Server.Arena.ArenaValorService</ArenaValorService>
- <ArenaHighendService>OpenCards.Server.Arena.ArenaHighendService</ArenaHighendService>
- <SessionService>OpenCards.Server.Connector.SessionService</SessionService>
- <LogicService>OpenCards.Server.Logic.LogicService</LogicService>
- <LogicManagerService>OpenCards.Server.Logic.LogicManagerService</LogicManagerService>
- </AcceptTypeMappings>
- </RpcConfig>
- <StartService>
- <!-- LogicManagerService -->
- <LogicManagerService>
- <ServiceName>LogicManagerService_2</ServiceName>
- <ServiceType>LogicManagerService</ServiceType>
- <Config>
- <FightPostURL>http://127.0.0.1:8088/fight/reqstartbattle</FightPostURL>
- <serverID>2</serverID>
- </Config>
- </LogicManagerService>
- <!-- Center -->
- <CenterService>
- <ServiceName>CenterService_2</ServiceName>
- <ServiceType>CenterService</ServiceType>
- <Config>
- <serverID>2</serverID>
- </Config>
- </CenterService>
- <!-- ArenaManager -->
- <ArenaManagerService>
- <ServiceName>ArenaManagerService_2</ServiceName>
- <ServiceType>ArenaManagerService</ServiceType>
- <Config>
- <ServerID>2</ServerID>
- </Config>
- </ArenaManagerService>
- <!-- ArenaHighend -->
- <ArenaHighendService>
- <ServiceName>ArenaHighendService_2</ServiceName>
- <ServiceType>ArenaHighendService</ServiceType>
- <Config></Config>
- </ArenaHighendService>
- <!-- Connector -->
- <ConnectorService>
- <ServiceName>ConnectorService_2</ServiceName>
- <ServiceType>ConnectorService</ServiceType>
- <Config>
- <ServerId>2</ServerId>
- <Host>0.0.0.0</Host>
- <Port>19822</Port>
- <NetCodec>OpenCards.Core.Serializer</NetCodec>
- <KeepAlive>true</KeepAlive>
- <KeepAliveInterval>30000</KeepAliveInterval>
- <RecvBufferSize>16384</RecvBufferSize>
- <SendBufferSize>16384</SendBufferSize>
- <MaxConnections>300000</MaxConnections>
- </Config>
- </ConnectorService>
- </StartService>
- </GameNode2>
- </ServiceNodes>
- </doc>
|