config.yaml 2.4 KB

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