common.json 2.7 KB

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