Files
full/all/etc/default_dev.yaml

113 lines
2.3 KiB
YAML
Raw Normal View History

Service: default
BindIP: 0.0.0.0
Port: 12000
Databases:
Driver: postgres
Source:
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/
SecretKey: CHANGE_ME
2026-08-10 11:16:02 +08:00
# Enabled services. Use "all" to enable every registered service.
Services:
2026-08-10 11:16:02 +08:00
- ads
- cloud
- cms
- feedback
- fts
- initial
- logs
- mgt
- passport
- sender
- address
- mall
- market
- order
- wallet
# Service-specific configuration is flat at the document root. Shared
# database, Redis, RPC, APM and Etcd settings above are assigned automatically.
Fts:
MinioOss:
Site: http://127.0.0.1:9000
Endpoint: 127.0.0.1:9000
AccessKeyId: CHANGE_ME
AccessKeySecret: CHANGE_ME
UseSSL: false
Local:
Site: http://127.0.0.1:12000/files
UploadDir: ./uploader/
FtsConfig:
InputKey: file
MaxSize: 5368709120
Allows: [.doc, .docx, .txt, .png, .jpg, .jpeg, .gif, .pdf, .xls, .xlsx, .ppt, .pptx, .mp4, .avi, .mkv, .webp, .mov, .wmv, .mp3, .wav]
Mgt:
InitRootUser: true
SecretKey: CHANGE_ME
Passport:
Token:
Prefix: /token/
Expire: 86400
Kyc:
Provider: jumio
BaseUrl: CHANGE_ME
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: CHANGE_ME
WeChatConf:
AppID: CHANGE_ME
AppSecret: CHANGE_ME
Sender:
SMTP:
default:
Endpoint: smtp.example.com
Port: 465
Username: CHANGE_ME
Password: CHANGE_ME
FromAddress: no-reply@example.com
FromName: BSM
SMS:
default:
Endpoint: CHANGE_ME
AccessKeyId: CHANGE_ME
AccessKeySecret: CHANGE_ME
Region: CHANGE_ME
Code:
Length: 6
Expire: 300
MaxSentLimit: 5
CokeyKey: code
BlackListFilter: [127.0.0.1]
Wallet:
QrCodeSavePath: ./qrcode/
WeChat:
AppID: CHANGE_ME
AppSecret: CHANGE_ME
SerialNo: CHANGE_ME
APIV3Key: CHANGE_ME
PrivateKey: CHANGE_ME
NotifyURL: CHANGE_ME
Currency: CNY
MchID: CHANGE_ME
Alipay:
AppID: CHANGE_ME
AppSecret: CHANGE_ME
PrivateKey: CHANGE_ME
IsProd: false
NotifyURL: CHANGE_ME
ReturnURL: CHANGE_ME
QuitURL: CHANGE_ME
Wallet:
Name: default
URL: CHANGE_ME
AlipyIsOpen: false
WalletIsOpen: false
WechatpayIsOpen: false