common.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.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. },
  20. "dws_rabbitmq":{
  21. "addr":"47.100.68.39:5672",
  22. "username":"admin",
  23. "passwrod":"syznno1",
  24. "vhost":"",
  25. "exchange_name":"dws-ex",
  26. "queue_name":"dws-queue",
  27. "route_bind_key":"dws"
  28. },
  29. "mysql":{
  30. "addr":"rm-2vc722159701x853mho.mysql.cn-chengdu.rds.aliyuncs.com:3306",
  31. "charset":"utf8",
  32. "db":"default",
  33. "max_conn":"100",
  34. "max_idle":"10",
  35. "password":"hly@1353406",
  36. "user":"root"
  37. },
  38. "rpc":{
  39. "prefix": "adm",
  40. "keepalive":{
  41. "client_time":"30",
  42. "client_timeout":"30",
  43. "server_time":"30",
  44. "server_timeout":"30",
  45. "server_mini_time":"30"},
  46. "adm_dws":{
  47. "mysql_db":"db_adm_dws",
  48. "redis_db":"4",
  49. "service_name":"adm-dws",
  50. "service_ip": "",
  51. "service_port":""
  52. },
  53. "adm_ods":{
  54. "mysql_db":"db_adm_ods",
  55. "redis_db":"4",
  56. "service_name":"gadm-ods",
  57. "service_ip": "127.0.0.1",
  58. "service_port":""
  59. },
  60. "adm_task":{
  61. "service_name": "gadm-task",
  62. "mysql_db":"db_adm_management",
  63. "redis_db":"4",
  64. "service_ip": "127.0.0.1",
  65. "service_port":"1001"
  66. }
  67. }
  68. }