config.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. labels:
  5. app: e-school-applet
  6. name: e-school-applet
  7. namespace: i2
  8. data:
  9. app.conf: |-
  10. app_name = e-school-backend
  11. http_port = 8080
  12. run_mode = release
  13. log_mode = debug
  14. data_source = "i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool_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. aliyun_messageKeyId = "LTAI4Fqwv6vQGQxXwYhGnR9Y"
  37. aliyun_messageKeySecret = "qY90zH6TeHl3G21Ewz2DJkUMXDLsvl"
  38. aliyun_messageVersion = "2017-05-25"
  39. aliyun_messageRegionId = "cn-guangzhou"
  40. aliyun_messageDomain = "dysmsapi.aliyuncs.com"
  41. aliyun_messageApiName = "SendSms"
  42. aliyun_messageSignName = "i2全外教少儿英语"
  43. aliyun_messageTemplateCode = "SMS_185575215"
  44. # 微信登陆
  45. wechat_appid = "wx756d2f0339adf67c"
  46. wechat_secret = "9cc4b7928467151acea7ab1bfa0a70a7"
  47. #微信小程序
  48. applet_appid = "wxc4493aeb8bfc7032"
  49. applet_secret = "d080f7bd28900e0bad2a0a991bf8a72a"
  50. # redis
  51. redis_addr = "r-uf63gt48bwoqbodeib.redis.rds.aliyuncs.com:6379"
  52. redis_pwd = "i2kv0123#798"
  53. # redis_addr = "47.103.219.158:7001"
  54. # redis_pwd = "i2#333"
  55. # aliyun Oss
  56. aliyun_ossEndPoint="https://oss-cn-shanghai-internal.aliyuncs.com"
  57. aliyun_ossKeyId="LTAI4FqkcBnu6wMGvtumC38g"
  58. aliyun_ossKeySecret="YIUaYICkTmEQVjxvHYnhxTKlImPasQ"
  59. aliyun_ossBucketName="i2-files"
  60. # 内网地址:i2-files.oss-cn-shanghai-internal.aliyuncs.com
  61. # 资源路径
  62. path_staticResource="static"
  63. # http://files-cdn.i2edu.net/
  64. eschool_cdnResource="https://vod-cdn.i2edu.net"
  65. eschool_cdnFile="https://files-cdn.i2edu.net"
  66. eschool_cdnImageResource="https://imgs-cdn.i2edu.net"
  67. dubit_ossDirPath="eschool/dubit"
  68. eschool_ossDirPath="eschool/app"
  69. erp_ossDirPath="eschool/erp"
  70. # 资源路径
  71. erp_cdnResource="http://cdn.dubit.i2erp.cn"
  72. # erp内网url
  73. erp_url=http://192.168.14.210:31130
  74. integral_data_source = "root:i2#114@tcp(47.103.219.158:31306)/e-school?charset=utf8mb4&loc=Local&parseTime=true"
  75. #讯飞小程序
  76. xfyun_appid = "5df9ed38"
  77. xfyun_apikey = "50827e596ee5008ede43a8a243144889"
  78. #当前域名
  79. CURURL = "https://api-enshow-slb.i2edu.net/"
  80. #小程序默认头像
  81. defaultAvatar = "eschool/app/upload/user/head/2020/01/19/c6d50977-7f33-4aaf-860b-6d9a21949084.png"
  82. #作品合成方式 (0: 直接合成作品 1: 发布时提交合成作品)
  83. composition = "1"
  84. # APP测试手机号
  85. app_mobile_test = "18980810570"
  86. app_code_test = "6666"
  87. # 极光
  88. JpushAppkey = "256d926eba2b0c4563c63239"
  89. JpushSecret = "d3484500bec2c7891ec57ef4"
  90. # CDN key
  91. cdn_auth_key = "156d23eba0c42a"
  92. # cassandra
  93. cassandra=cassandra
  94. keyspace=i2_log
  95. # logger_data_source
  96. logger_data_source="i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool_log?charset=utf8&loc=Local"
  97. logger_app_name="applet"