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 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"
accessKey: "AKIDcRDpF30tv3mBVhkdNyQoT8e0ELMExiQ1"
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" clientSecret: ""
yo:
host: "https://api-service.yunzhanghu.com/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" encoding_key: "lXyxrSQ2icGGmCkJvIhcmn2Scdc4peG7VKae30IKNTj" kf_user_id: "KaoShenLongGeBenRenLingXueQiangB"
nodejs:
host: "nodejs-host"
port: 3000