common.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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":"/var/log"
  10. },
  11. "ods_rabbitmq":{
  12. "addr":"47.108.30.231: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":"200"
  20. },
  21. "dws_rabbitmq":{
  22. "addr":"47.108.30.231: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":"200"
  30. },
  31. "mysql":{
  32. "addr":"rm-2vc722159701x853mho.mysql.cn-chengdu.rds.aliyuncs.com:3306",
  33. "charset":"utf8",
  34. "db":"default",
  35. "max_conn":"100",
  36. "max_idle":"10",
  37. "password":"hly@1353406",
  38. "user":"root"
  39. },
  40. "redis":{
  41. "addr":"47.103.130.208:63779",
  42. "addrs":"47.103.130.208:63779",
  43. "connect_timeout":"2",
  44. "default_db":"0",
  45. "idle_timeout":"600",
  46. "is_cluster":"false",
  47. "max_active":"20000",
  48. "max_idle":"50",
  49. "max_retries":"1",
  50. "min_idle_conns":"10",
  51. "network":"tcp",
  52. "password":"dip_prv",
  53. "pool_size":"100",
  54. "read_timeout":"2",
  55. "wait_flag":"true",
  56. "write_timeout":"2"
  57. },
  58. "rpc":{
  59. "prefix": "adm",
  60. "keepalive":{
  61. "client_time":"30",
  62. "client_timeout":"30",
  63. "server_time":"30",
  64. "server_timeout":"30",
  65. "server_mini_time":"30"},
  66. "adm_dws":{
  67. "mysql_db":"db_adm_dws",
  68. "redis_db":"4",
  69. "service_name":"adm-dws",
  70. "service_ip": "",
  71. "service_port":""
  72. },
  73. "adm_ods":{
  74. "mysql_db":"db_adm_ods",
  75. "redis_db":"4",
  76. "service_name":"gadm-ods",
  77. "service_ip": "127.0.0.1",
  78. "service_port":""
  79. },
  80. "adm_task":{
  81. "service_name": "gadm-task",
  82. "mysql_db":"db_adm_management",
  83. "redis_db":"4",
  84. "service_ip": "127.0.0.1",
  85. "service_port":"1001"
  86. }
  87. }
  88. }