ruwebframe 0.1.0

A brief description of your crate.
Documentation
server:
  env: "debug"
  address: "0.0.0.0"
  port: 8099
  gracefulShutdownPeriod: 30
  # 本地环境不开启
  domain: ""
  rateLimits:
    - limitType: "server"
      burst: 500
      qps: 100
      cacheSize: 1
    - limitType: "ip"
      burst: 50
      qps: 10
      cacheSize: 2048
  jwtSecret: learnserver

docker:
  enable: false # enable docker, start dockerd at first
  host: unix:///var/run/docker.sock

db:
  port: 5432
  host: "rudb-dev"
  name: "train-dev"
  user: "postgres"
  password: "Ygw!tqxxZQKthpux"
  migrate: false

redis:
  enable: true
  port: 6379
  host: "rudb-dev"
  password: "123456"
  db: 7
rtc:
  enable: true
  appId: 1600104504
  appKey: 7dc26558c4aec6c8f0b0026becf24ee5f2811aa438ddd0c7a67aeba3a13adf96
  templateId: "zOLgImyo"
  # oss
  accessKey: "AKIDcRDpF30tv3mBVhkdNyQoT8e0ELMExiQ1" 
  # oss
  accessSecret: "Ws7EAxbCi9Tehxxxxxxx"
  bucket: "superstudy-1377132935"
  path: "rtc_test"
  region: "ap-guangzhou"
  endpoint: "https://cos.ap-guangzhou.myqcloud.com"
  provider: tencent

sms:
  enable: true
  signName: "研师领学科技"
  accessKey: "LTAI5tH6S1rVkB2N57iLZTDM"
  accessSecret: "m4k6pNIFxaWRLxnVIAoScaoJ2zVVrE"
oss:
  enable: true
  domain: https://superstudy.cn-shenzhen.oss.aliyuncs.com
  endpoint: "https://cn-shenzhen.oss.aliyuncs.com"
  bucket: "superstudy"
  region: "cn-shenzhen" 
  accessKey: "LTAI5tKdQNEQVwWMzZiimdCp"
  accessSecret: "9vtBbCSXy8FUhBx1l7IY5p9udjUJvf"

idFace:
  enabled: true
  sceneId: 1000014864
  accessKey: "LTAI5t8JtSNigbyS1vrYY3Gi"
  accessSecret: "LiGrZ9mdTSu6tfi6MJAY9LEYMjT00I"

oauth:
  github:
    clientId: "85db232fde2c9320ece7" # set your client id
    clientSecret: "" # set your client secret

yo:
  # host: "https://api-service.yunzhanghu.com" # prod
  host: "https://api-service.yunzhanghu.com/sandbox" # sandbox
  private_key_file: "config/dev_private_key.pem"
  public_key_file: "config/dev_public_key.pem"
  app_key: "3I92nXwXBnL4ff38gEQSKmS096tQ8Vnc"
  des3_key: "0T5R6F4vs5O39TuT8shb3dNj"
  dealer_id: "20740456"
  broker_id: "gxjjlxlwtest"
  sign_callback_url: "https://myhost/api/v1/callback/users/sign"
  domain: "https://dev.super-study.com"
voicemsg:
  accessKey: "LTAI5t9K2Aq4RWR9H3FQyi1B"
  accessSecret: "pmKSJ5aAguCGh3rWmA59DxxjV7zTs9"

wecom:
  corp_id: "wwd06040a6f87cc923"
  corp_secret: "7VSG6C5wl0Kfw5fg9bNaJeSB4eoJhqJ3upG7Go5U_g0"
  agent_id: 1000003
  kf_url: "https://work.weixin.qq.com/kfid/kfc4071e69fbc9c4010"  # 统一的客服链接
  token: "I9XjvXsPfloM"                                            # 企业微信回调验证Token
  encoding_key: "lXyxrSQ2icGGmCkJvIhcmn2Scdc4peG7VKae30IKNTj"      # 消息加密密钥
  kf_user_id: "KaoShenLongGeBenRenLingXueQiangB"                                            # 客服人员UserID

nodejs:
  host: "nodejs-host"
  port: 3000