apiVersion: v1 kind: ConfigMap metadata: labels: app: e-school-backend name: e-school-backend namespace: i2 data: app.conf: |- app_name = e-school-backend http_port = 8080 run_mode = debug log_mode = debug data_source = "i2_eschool:Eschool@#201910@tcp(i2-db-001.mysql.polardb.rds.aliyuncs.com:3306)/e-school-backend?charset=utf8&loc=Local" storage = http://file.qianqiusoft.com/v1/fs_file/ sync_db = true auto_refresh = false #wfendpoint = "http://localhost:8090" #light_connector = "http://localhost:7076" # 默认域名设置 plat_domain = "eschool.i2edu.com" i2_domain = "eschool.i2edu.com" # 认证模式: local本地模式,third第三方 auth_mode = "local" enable_ldap_server = false ldap_port = 389 # 盐 password_salt = cr@bc.cn # 启用数据库加盐 enable_db_salt = false # 密码启用Base64编码 password_enable_base64 = true aliyun_accessKeyId = "LTAIqrwSEnuD3mem" aliyun_accessKeySecret = "PLjaW9COl4Lm3rm3nzdd2ua6S3eseZ" # 微信登陆 wechat_appid = "wx756d2f0339adf67c" wechat_secret = "9cc4b7928467151acea7ab1bfa0a70a7" #微信小程序 applet_appid = "wxc4493aeb8bfc7032" applet_secret = "d080f7bd28900e0bad2a0a991bf8a72a" # redis redis_addr = "47.103.219.158:7001" redis_pwd = "i2#333" # aliyun Oss aliyun_ossEndPoint="https://oss-cn-shanghai.aliyuncs.com" aliyun_ossKeyId="LTAI4FqkcBnu6wMGvtumC38g" aliyun_ossKeySecret="YIUaYICkTmEQVjxvHYnhxTKlImPasQ" aliyun_ossBucketName="i2-files" # 内网地址:i2-files.oss-cn-shanghai-internal.aliyuncs.com # 资源路径 path_staticResource="static" eschool_cdnResource="https://vod-cdn.i2edu.net" dubit_ossDirPath="eschool/dubit" eschool_ossDirPath="eschool/app" erp_ossDirPath="eschool/erp" # 资源路径 erp_cdnResource="http://gjss-edus.oss-cn-shanghai.aliyuncs.com" # erp内网url erp_url=http://localhost:10086 integral_data_source = "root:i2#114@tcp(47.103.219.158:31306)/e-school?charset=utf8mb4&loc=Local&parseTime=true" #讯飞小程序 xfyun_appid = "5df9ed38" xfyun_apikey = "50827e596ee5008ede43a8a243144889"