Files
full/module/base/passport/etc/passport_dev.yaml

54 lines
989 B
YAML
Raw Normal View History

Service: passport
Port: 12426
# Gateway 设置
Gateway:
Enable: true
Port: 12425
Databases:
Driver: postgres
Source:
2026-08-10 11:42:45 +08:00
- host=127.0.0.1 user=postgres password=CHANGE_ME dbname=ec_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
2026-08-10 11:42:45 +08:00
Cache: redis://null:CHANGE_ME@127.0.0.1:19379/
# 微服务设置
MicroService:
Enable: false
Anonymous:
- passport.ping.hello
# 微信设置
WeChatConf:
AppID: 123
2026-08-10 11:42:45 +08:00
AppSecret: CHANGE_ME
# KYC认证配置
Kyc:
Provider: jumio
BaseUrl: 123
2026-08-10 11:42:45 +08:00
ApiSecret: CHANGE_ME
ApiToken: CHANGE_ME
ApiArgs: 123
# 微服务调用密钥
2026-08-10 11:42:45 +08:00
SecretKey: CHANGE_ME
Token:
Prefix: "/token/"
Expire: 86400
# Rpc:
# fts:
# Endpoint: https://api-v2.traingo.cn/fts/v2
# SecretKey: 4ef05311358cd1c8f787281f08b38b1c
# 链路追踪,性能监控,日志收集
# APM:
# Platform: elasticAPM
# Endpoint: http://127.0.0.1:14268/api/traces