common.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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":"20"
  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":"3"
  40. },
  41. "md5_rabbitmq":{
  42. "addr":"47.100.68.39:5672",
  43. "username":"admin",
  44. "passwrod":"syznno1",
  45. "vhost":"",
  46. "exchange_name":"dev-md5-ex",
  47. "queue_name":"dev-md5-queue",
  48. "route_bind_key":"dev-md5",
  49. "consumer_count":"3"
  50. },
  51. "mysql":{
  52. "addr":"47.103.201.156:3306",
  53. "charset":"utf8",
  54. "db":"default",
  55. "max_conn":"100",
  56. "max_idle":"10",
  57. "password":"1353406",
  58. "user":"root"
  59. },
  60. "redis":{
  61. "addr":"47.103.130.208:63779",
  62. "addrs":"47.103.130.208:63779",
  63. "connect_timeout":"2",
  64. "default_db":"0",
  65. "idle_timeout":"600",
  66. "is_cluster":"false",
  67. "max_active":"20000",
  68. "max_idle":"50",
  69. "max_retries":"1",
  70. "min_idle_conns":"10",
  71. "network":"tcp",
  72. "password":"gd_prv",
  73. "pool_size":"100",
  74. "read_timeout":"2",
  75. "wait_flag":"true",
  76. "write_timeout":"2"
  77. },
  78. "rpc":{
  79. "prefix": "adm",
  80. "keepalive":{
  81. "client_time":"30",
  82. "client_timeout":"30",
  83. "server_time":"30",
  84. "server_timeout":"30",
  85. "server_mini_time":"30"},
  86. "adm_dws":{
  87. "mysql_db":"db_adm_dws",
  88. "redis_db":"4",
  89. "service_name":"db_adm_dws",
  90. "service_ip": "127.0.0.1",
  91. "service_port":""
  92. },
  93. "adm_ods":{
  94. "mysql_db":"gd-ods",
  95. "redis_db":"4",
  96. "service_name":"adm-ods",
  97. "service_ip": "127.0.0.1",
  98. "service_port":""
  99. },
  100. "adm_ads":{
  101. "mysql_db":"gd-ads",
  102. "redis_db":"4",
  103. "service_name":"adm-ads",
  104. "service_ip": "127.0.0.1",
  105. "service_port":""
  106. },
  107. "adm_task":{
  108. "service_name": "adm-task",
  109. "service_ip": "127.0.0.1",
  110. "service_port": "10004",
  111. "mysql_db":"adm_management",
  112. "redis_db":"4"
  113. }
  114. }
  115. }