mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 17:06:42 +00:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
datasources:
|
||
default:
|
||
connection:
|
||
url: ${MONGO_URL}
|
||
objectFiles:
|
||
- ./src/**
|
||
tenant:
|
||
_id:
|
||
name: 华炎魔方
|
||
logo_url:
|
||
background_url:
|
||
enable_register: true
|
||
enable_bind_mobile: false
|
||
enable_bind_email: false
|
||
enable_forget_password: true
|
||
enable_create_tenant: true
|
||
saas: false
|
||
enable_password_login: true
|
||
enable_mobile_code_login: true
|
||
enable_email_code_login: true
|
||
-email:
|
||
url: ${MAIL_URL}
|
||
from: ${MAIL_FROM}
|
||
password:
|
||
minimum_length: 10
|
||
lowercase: true
|
||
number: true
|
||
uppercase: true
|
||
symbol: true
|
||
policy: ^(?=.*[A-Z])(?![a-z]+$)(?![^A-Za-z0-9]+$)(?!\d+$)\S{8,}$
|
||
policyError: 密码必须包含字符、数字和字母,并至少有一个大写字母,且不能少于8位
|
||
notifyUserAfterPasswordChanged: false
|
||
sendVerificationEmailAfterSignup: true
|
||
-accounts:
|
||
mobile_phone_locales: ['zh-CN']
|
||
webservices:
|
||
steedos: http://127.0.0.1:5000/
|
||
plugins:
|
||
-sms:
|
||
qcloud:
|
||
smsqueue_interval: 1000
|
||
sdkappid: ${ENV_SMS_QCLOUD_SDKAPPID}
|
||
appkey: ${ENV_SMS_QCLOUD_APPKEY}
|
||
signname: ${ENV_SMS_QCLOUD_SIGNNAME} |