config.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. labels:
  5. app: e-school-backend
  6. name: e-school-backend
  7. namespace: i2
  8. data:
  9. app.conf: |-
  10. app_name = e-school-backend
  11. http_port = 8080
  12. run_mode = debug
  13. log_mode = debug
  14. data_source = "i2_eschool:Eschool@#201910@tcp(i2-db-001.mysql.polardb.rds.aliyuncs.com:3306)/e-school-backend?charset=utf8&loc=Local"
  15. storage = http://file.qianqiusoft.com/v1/fs_file/
  16. sync_db = true
  17. auto_refresh = false
  18. #wfendpoint = "http://localhost:8090"
  19. #light_connector = "http://localhost:7076"
  20. # 默认域名设置
  21. plat_domain = "eschool.i2edu.com"
  22. i2_domain = "eschool.i2edu.com"
  23. # 认证模式: local本地模式,third第三方
  24. auth_mode = "local"
  25. enable_ldap_server = false
  26. ldap_port = 389
  27. # 盐
  28. password_salt = cr@bc.cn
  29. # 启用数据库加盐
  30. enable_db_salt = false
  31. # 密码启用Base64编码
  32. password_enable_base64 = true
  33. aliyun_accessKeyId = "LTAIqrwSEnuD3mem"
  34. aliyun_accessKeySecret = "PLjaW9COl4Lm3rm3nzdd2ua6S3eseZ"
  35. # 微信登陆
  36. wechat_appid = "wx756d2f0339adf67c"
  37. wechat_secret = "9cc4b7928467151acea7ab1bfa0a70a7"
  38. #微信小程序
  39. applet_appid = "wxc4493aeb8bfc7032"
  40. applet_secret = "d080f7bd28900e0bad2a0a991bf8a72a"
  41. # redis
  42. redis_addr = "47.103.219.158:7001"
  43. redis_pwd = "i2#333"
  44. # aliyun Oss
  45. aliyun_ossEndPoint="https://oss-cn-shanghai.aliyuncs.com"
  46. aliyun_ossKeyId="LTAI4FqkcBnu6wMGvtumC38g"
  47. aliyun_ossKeySecret="YIUaYICkTmEQVjxvHYnhxTKlImPasQ"
  48. aliyun_ossBucketName="i2-files"
  49. # 内网地址:i2-files.oss-cn-shanghai-internal.aliyuncs.com
  50. # 资源路径
  51. path_staticResource="static"
  52. eschool_cdnResource="https://vod-cdn.i2edu.net"
  53. dubit_ossDirPath="eschool/dubit"
  54. eschool_ossDirPath="eschool/app"
  55. erp_ossDirPath="eschool/erp"
  56. # 资源路径
  57. erp_cdnResource="http://gjss-edus.oss-cn-shanghai.aliyuncs.com"
  58. # erp内网url
  59. erp_url=http://localhost:10086
  60. integral_data_source = "root:i2#114@tcp(47.103.219.158:31306)/e-school?charset=utf8mb4&loc=Local&parseTime=true"
  61. #讯飞小程序
  62. xfyun_appid = "5df9ed38"
  63. xfyun_apikey = "50827e596ee5008ede43a8a243144889"