_launch_public.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <!-- ================================================================ -->
  4. <!-- 公共服配置:NameServer + PublicNode + AccountNode -->
  5. <!-- 此文件由手动从 _launch_server.xml 提取生成 -->
  6. <!-- ================================================================ -->
  7. <define name="GameNodeDefine" param1="" param2=""/>
  8. <!-- IService全局配置 -->
  9. <GlobalConfig>
  10. <Env>dev</Env>
  11. <Realm>1</Realm>
  12. <Mysql></Mysql>
  13. <AcceptClientVersion>0.0.0</AcceptClientVersion>
  14. <TemplateRoot>../../data/ServerData/</TemplateRoot>
  15. <NoticeErrorUrl>https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=d9d262b8-17c8-4297-8b9f-bb1b7f72ac89</NoticeErrorUrl>
  16. <DebugPay>true</DebugPay>
  17. <BattleRecordURLPrefix>https://zqtfcn.oss-cn-shanghai.aliyuncs.com/apollo_dev/server/playback/</BattleRecordURLPrefix>
  18. </GlobalConfig>
  19. <!-- 根节点,管理所有ServiceNode,全局唯一 -->
  20. <NameServer>
  21. <RpcConfig>
  22. <LocalEndPoint>127.0.0.1:17000</LocalEndPoint>
  23. <NetworkTimeoutMS>15000</NetworkTimeoutMS>
  24. <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
  25. </RpcConfig>
  26. </NameServer>
  27. <ServiceNodes>
  28. <!-- 账号服务节点 -->
  29. <AccountNode1>
  30. <Redis>127.0.0.1,password=tmKjD1ENs3HfZ7adzLJO!,allowAdmin=true,syncTimeout=30000,responseTimeout=30000,connectRetry=1000,connectTimeout=10000;db=1</Redis>
  31. <RpcConfig>
  32. <LocalNodeType>AccountNode</LocalNodeType>
  33. <LocalNodeName>AccountNode1</LocalNodeName>
  34. <LocalEndPoint>127.0.0.1:17010</LocalEndPoint>
  35. <NameServerEndPoint>127.0.0.1:17000</NameServerEndPoint>
  36. <RequestTickTimeMS>5000</RequestTickTimeMS>
  37. <NetworkTimeoutMS>30000</NetworkTimeoutMS>
  38. <DefaultTaskExecuteTimeout>60000</DefaultTaskExecuteTimeout>
  39. <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
  40. <AcceptTypeMappings>
  41. <AccountServer>OpenCards.Server.Account.AccountServer</AccountServer>
  42. </AcceptTypeMappings>
  43. </RpcConfig>
  44. <StartService>
  45. <AccountServer>
  46. <ServiceName>AccountServer</ServiceName>
  47. <ServiceType>AccountServer</ServiceType>
  48. <Config>
  49. <HttpListen>http://+:18081/account/</HttpListen>
  50. <SecretKey>3dbf6b137a80d10953507929a0216d8b</SecretKey>
  51. <ServerListUrl>http://43.226.57.217:8007/apollo_60000/serverlist.json</ServerListUrl>
  52. <YmnCheckUrl>https://heimdall.vgplay.vn/check</YmnCheckUrl>
  53. <client_storage_url>http://43.226.57.217:8007/apollo_60000/</client_storage_url>
  54. <apply_app_verison>0.0.0</apply_app_verison>
  55. <apply_server_id>2</apply_server_id>
  56. <StopServerDataURL>http://43.226.57.217:8007/apollo_60000/stop_server_list.json</StopServerDataURL>
  57. <UpdateServerConfig>http://43.226.57.217:8007/apollo_60000/update_server_config.json</UpdateServerConfig>
  58. </Config>
  59. </AccountServer>
  60. </StartService>
  61. </AccountNode1>
  62. <!-- 公共服务节点:公会/支付/好友/聊天/管理后台/竞技场巅峰/账单 -->
  63. <PublicNode>
  64. <Redis>127.0.0.1,password=tmKjD1ENs3HfZ7adzLJO!,allowAdmin=true,syncTimeout=30000,responseTimeout=30000,connectRetry=1000,connectTimeout=10000;db=1</Redis>
  65. <Mysql>server=127.0.0.1;User ID=root;Password=CmASfW98lOKbFieqEQox;database=orm</Mysql>
  66. <RpcConfig>
  67. <LocalNodeType>PublicNode</LocalNodeType>
  68. <LocalNodeName>PublicNode</LocalNodeName>
  69. <LocalEndPoint>127.0.0.1:17060</LocalEndPoint>
  70. <NameServerEndPoint>127.0.0.1:17000</NameServerEndPoint>
  71. <RequestTickTimeMS>5000</RequestTickTimeMS>
  72. <NetworkTimeoutMS>30000</NetworkTimeoutMS>
  73. <DefaultTaskExecuteTimeout>60000</DefaultTaskExecuteTimeout>
  74. <RpcCodec>OpenCards.Server.Core.Serializer</RpcCodec>
  75. <AcceptTypeMappings>
  76. <GuildService>OpenCards.Service.Guild.GuildService</GuildService>
  77. <PublicService>OpenCards.Service.Public.PublicService</PublicService>
  78. <PayServer>OpenCards.Service.Pay.PayServer</PayServer>
  79. <FriendService>OpenCards.Service.Friend.FriendService</FriendService>
  80. <ChatService>OpenCards.Service.Chat.ChatService</ChatService>
  81. <ArenaPinnacleService>OpenCards.Server.Arena.ArenaPinnacleService</ArenaPinnacleService>
  82. <AdminService>OpenCards.Service.Admin.AdminService</AdminService>
  83. <BillService>OpenCards.Service.Bill.BillService</BillService>
  84. <AccountServer>OpenCards.Server.Account.AccountServer</AccountServer>
  85. </AcceptTypeMappings>
  86. </RpcConfig>
  87. <StartService>
  88. <AccountServer>
  89. <ServiceName>AccountServer</ServiceName>
  90. <ServiceType>AccountServer</ServiceType>
  91. <Config>
  92. <HttpListen>http://+:18081/account/</HttpListen>
  93. <SecretKey>3dbf6b137a80d10953507929a0216d8b</SecretKey>
  94. <ServerListUrl>http://43.226.57.217:8007/apollo_60000/serverlist.json</ServerListUrl>
  95. <YmnCheckUrl>https://heimdall.vgplay.vn/check</YmnCheckUrl>
  96. <client_storage_url>http://43.226.57.217:8007/apollo_60000/</client_storage_url>
  97. <apply_app_verison>0.0.0</apply_app_verison>
  98. <apply_server_id>2</apply_server_id>
  99. <StopServerDataURL>http://43.226.57.217:8007/apollo_60000/stop_server_list.json</StopServerDataURL>
  100. <UpdateServerConfig>http://43.226.57.217:8007/apollo_60000/update_server_config.json</UpdateServerConfig>
  101. </Config>
  102. </AccountServer>
  103. <BillService>
  104. <ServiceName>BillService</ServiceName>
  105. <ServiceType>BillService</ServiceType>
  106. <Config>
  107. <platform>oss</platform>
  108. <accessKeyId>LTAI4GF8sN2RpWMyfqRy1swY</accessKeyId>
  109. <accessKeySecret>2vuPQ4eBoWYAZLsCNCbfJmVNP1EIxv</accessKeySecret>
  110. <endpoint>https://oss-cn-shanghai.aliyuncs.com/</endpoint>
  111. <path>apollo_60000/server/playback/{0}/{1}</path>
  112. <bucketName>zqtfcn</bucketName>
  113. </Config>
  114. </BillService>
  115. <GuildService>
  116. <ServiceName>GuildService</ServiceName>
  117. <ServiceType>GuildService</ServiceType>
  118. <Config></Config>
  119. </GuildService>
  120. <PublicService>
  121. <ServiceName>PublicService</ServiceName>
  122. <ServiceType>PublicService</ServiceType>
  123. <Config></Config>
  124. </PublicService>
  125. <PayServer>
  126. <ServiceName>PayServer</ServiceName>
  127. <ServiceType>PayServer</ServiceType>
  128. <Config>
  129. <HttpListen>http://+:18082/pay/</HttpListen>
  130. <SecretKey>643752757fde484d03adc694b2462322</SecretKey>
  131. <NotifyUrl>http://127.0.0.1:18082/pay/deliver</NotifyUrl>
  132. <Mysql>server=127.0.0.1;User ID=root;Password=CmASfW98lOKbFieqEQox;database=dbpay;</Mysql>
  133. </Config>
  134. </PayServer>
  135. <FriendService>
  136. <ServiceName>FriendService</ServiceName>
  137. <ServiceType>FriendService</ServiceType>
  138. <Config></Config>
  139. </FriendService>
  140. <ChatService>
  141. <ServiceName>ChatService</ServiceName>
  142. <ServiceType>ChatService</ServiceType>
  143. <Config>
  144. <HttpListen>http://+:18089/chat/</HttpListen>
  145. <AppKey>YOUME77489D86AE5330CCFFB62E3BB8B4C6B4F48AA54A</AppKey>
  146. <AppSecret>rItImoJh1R593aBuzrVzzq4yDSFAxHwEDH2EXp40nX8ISeb2Tn/xVAjGreDuFILst50JIlpFRCStbOHk8h9XyLZ5Pcd992f8L0D6GUg60gQyxr9gCvrR/HF0QQHdWN2KxAOTYhVP6G/htOY/bxmtJbQw0Yn/+Yd3T9n69cCQS+0BAAE=</AppSecret>
  147. </Config>
  148. </ChatService>
  149. <ArenaPinnacleService>
  150. <ServiceName>ArenaPinnacleService</ServiceName>
  151. <ServiceType>ArenaPinnacleService</ServiceType>
  152. <Config></Config>
  153. </ArenaPinnacleService>
  154. <AdminService>
  155. <ServiceName>AdminService</ServiceName>
  156. <ServiceType>AdminService</ServiceType>
  157. <Config>
  158. <HttpListen>http://+:18088/api/</HttpListen>
  159. <APIKey>SeaOfVanGuard</APIKey>
  160. <GMTBaseUrl>http://127.0.0.1:7001</GMTBaseUrl>
  161. <AccountUrl>http://127.0.0.1:18081/account/</AccountUrl>
  162. <PayUrl>http://127.0.0.1:18082/pay/</PayUrl>
  163. </Config>
  164. </AdminService>
  165. </StartService>
  166. </PublicNode>
  167. </ServiceNodes>
  168. </doc>