common.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "run_mode":"dev",
  3. "oss":{
  4. "access_key": "LTAI5tMXuRXxUbNuD69ryfUh",
  5. "access_secret": "Pujpylo7AJ57pUCJR0NJR6HROLhVYb",
  6. "bucket": "gd-dev-test",
  7. "end_point": "oss-cn-shanghai.aliyuncs.com"
  8. },
  9. "log":{
  10. "stacktrace":"true",
  11. "max_age":"30",
  12. "max_backups":"7",
  13. "max_size":"100",
  14. "level":"info",
  15. "path":"./"
  16. },
  17. "ods_rabbitmq":{
  18. "addr":"47.100.68.39:5672",
  19. "username":"admin",
  20. "passwrod":"syznno1",
  21. "vhost":"",
  22. "exchange_name":"ods-ex",
  23. "queue_name":"ods-queue",
  24. "route_bind_key":"ods",
  25. "consumer_count":"3"
  26. },
  27. "dws_rabbitmq":{
  28. "addr":"47.100.68.39:5672",
  29. "username":"admin",
  30. "passwrod":"syznno1",
  31. "vhost":"",
  32. "exchange_name":"dws-ex",
  33. "queue_name":"dws-queue",
  34. "route_bind_key":"dws",
  35. "consumer_count":"5"
  36. },
  37. "ads_rabbitmq":{
  38. "addr":"47.100.68.39:5672",
  39. "username":"admin",
  40. "passwrod":"syznno1",
  41. "vhost":"",
  42. "exchange_name":"ads-ex",
  43. "queue_name":"ads-queue",
  44. "route_bind_key":"ads",
  45. "consumer_count":"5"
  46. },
  47. "mysql":{
  48. "addr":"47.103.201.156:3306",
  49. "charset":"utf8",
  50. "db":"default",
  51. "max_conn":"100",
  52. "max_idle":"10",
  53. "password":"1353406",
  54. "user":"root"
  55. },
  56. "redis":{
  57. "addr":"47.103.130.208:63779",
  58. "addrs":"47.103.130.208:63779",
  59. "connect_timeout":"2",
  60. "default_db":"0",
  61. "idle_timeout":"600",
  62. "is_cluster":"false",
  63. "max_active":"20000",
  64. "max_idle":"50",
  65. "max_retries":"1",
  66. "min_idle_conns":"10",
  67. "network":"tcp",
  68. "password":"gd_prv",
  69. "pool_size":"100",
  70. "read_timeout":"2",
  71. "wait_flag":"true",
  72. "write_timeout":"2"
  73. },
  74. "rpc":{
  75. "prefix": "adm",
  76. "keepalive":{
  77. "client_time":"30",
  78. "client_timeout":"30",
  79. "server_time":"30",
  80. "server_timeout":"30",
  81. "server_mini_time":"30"},
  82. "adm_dws":{
  83. "log_mode":"info",
  84. "mysql_db":"gd-dws",
  85. "name":"adm_dws",
  86. "redis_db":"4",
  87. "scheme":"tcp",
  88. "update_interval":"60",
  89. "service_name":"gd-access-log-svc",
  90. "service_port":"60005"
  91. },
  92. "adm_ods":{
  93. "log":{
  94. "disable_stacktrace":"true",
  95. "max_age":"30",
  96. "max_backups":"7",
  97. "max_size":"100"
  98. },
  99. "log_mode":"info",
  100. "mysql_db":"db_adm_ods",
  101. "name":"gd_admin",
  102. "redis_db":"4",
  103. "scheme":"tcp",
  104. "update_interval":"60",
  105. "service_name":"gd-admin-svc",
  106. "service_port":"60003"
  107. },
  108. "adm_ads":{
  109. "log":{
  110. "disable_stacktrace":"true",
  111. "max_age":"30",
  112. "max_backups":"7",
  113. "max_size":"100"
  114. },
  115. "log_mode":"info",
  116. "mysql_db":"gd-ads",
  117. "name":"gd_auth_check",
  118. "redis_db":"4",
  119. "scheme":"tcp",
  120. "update_interval":"60",
  121. "service_name":"gd-auth-check-svc",
  122. "service_port":"60006"
  123. },
  124. "adm_task":{
  125. "service_name": "adm-task",
  126. "service_ip": "127.0.0.1",
  127. "service_port": "10004"
  128. }
  129. }
  130. }