apiVersion: v1 kind: ConfigMap metadata: labels: app: e-school-applet name: e-school-applet namespace: i2 data: app.conf: |- app_name = e-school-backend http_port = 8080 run_mode = release log_mode = debug data_source = "i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool_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" # 阿里云短信 aliyun_messageKeyId = "LTAI4Fqwv6vQGQxXwYhGnR9Y" aliyun_messageKeySecret = "qY90zH6TeHl3G21Ewz2DJkUMXDLsvl" aliyun_messageVersion = "2017-05-25" aliyun_messageRegionId = "cn-guangzhou" aliyun_messageDomain = "dysmsapi.aliyuncs.com" aliyun_messageApiName = "SendSms" aliyun_messageSignName = "i2全外教少儿英语" aliyun_messageTemplateCode = "SMS_185575215" # 微信登陆 wechat_appid = "wx756d2f0339adf67c" wechat_secret = "9cc4b7928467151acea7ab1bfa0a70a7" #微信小程序 applet_appid = "wxc4493aeb8bfc7032" applet_secret = "d080f7bd28900e0bad2a0a991bf8a72a" # redis redis_addr = "r-uf63gt48bwoqbodeib.redis.rds.aliyuncs.com:6379" redis_pwd = "i2kv0123#798" # redis_addr = "47.103.219.158:7001" # redis_pwd = "i2#333" # aliyun Oss aliyun_ossEndPoint="https://oss-cn-shanghai-internal.aliyuncs.com" aliyun_ossKeyId="LTAI4FqkcBnu6wMGvtumC38g" aliyun_ossKeySecret="YIUaYICkTmEQVjxvHYnhxTKlImPasQ" aliyun_ossBucketName="i2-files" # 内网地址:i2-files.oss-cn-shanghai-internal.aliyuncs.com # 资源路径 path_staticResource="static" # http://files-cdn.i2edu.net/ eschool_cdnResource="https://vod-cdn.i2edu.net" eschool_cdnFile="https://files-cdn.i2edu.net" eschool_cdnImageResource="https://imgs-cdn.i2edu.net" dubit_ossDirPath="eschool/dubit" eschool_ossDirPath="eschool/app" erp_ossDirPath="eschool/erp" # 资源路径 erp_cdnResource="http://cdn.dubit.i2erp.cn" # erp内网url erp_url=http://192.168.14.210:31130 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" #当前域名 CURURL = "https://api-enshow-slb.i2edu.net/" #小程序默认头像 defaultAvatar = "eschool/app/upload/user/head/2020/01/19/c6d50977-7f33-4aaf-860b-6d9a21949084.png" #作品合成方式 (0: 直接合成作品 1: 发布时提交合成作品) composition = "1" # APP测试手机号 app_mobile_test = "18980810570" app_code_test = "6666" # 极光 JpushAppkey = "256d926eba2b0c4563c63239" JpushSecret = "d3484500bec2c7891ec57ef4" # CDN key cdn_auth_key = "156d23eba0c42a" # cassandra cassandra=cassandra keyspace=i2_log # logger_data_source logger_data_source="i2_eschool:Eschool@#201910@tcp(pc-uf66645lwf7331605.rwlb.rds.aliyuncs.com:3306)/eschool_log?charset=utf8&loc=Local" logger_app_name="applet"