Files
ai_site/platform/etc/platform.docker.yaml
whm d195aa4804 feat: add Yuheng ticket bind, trial SMS off, shared bindings
Ship ticket-exchange and bind/policy for Z13, keep trial binds SMS-free, allow shared company bindings, and align SyncPage plus sync docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:09:49 +08:00

62 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Name: platform
Host: 0.0.0.0
Port: 8888
# go-zero 全局请求超时毫秒。dbsync push 冷开 SQLite 常 >3s默认 3000 会直接 503。
Timeout: 180000
DataSource: "postgres://platform:platform@postgres:5432/platform?sslmode=disable"
DryRun: false
DevAuth: false
PublicBaseURL: "http://127.0.0.1:8180"
# 生产:改为对外 HTTPS 域名(与 .env 中 AIJZ_PUBLIC_BASE_URL 一致),改后执行 ./reload-config.sh platform
# PublicBaseURL: "https://aijz.example.com"
RateLimitPerMin: 6000
Auth:
AccessSecret: "dev-only-change-me"
AccessExpire: 86400
IssueSecret: "dev-only-change-me"
PhoneLoginOnly: false
RequirePhoneBound: false
SMS:
Provider: off
CodeTTLSeconds: 300
ResendSeconds: 60
# 试运行关绑定短信;正式接短信后 Provider=dev|真实厂商 且 RequireForBind=true
RequireForBind: false
License:
Enabled: false
Customer: ""
LeaseDir: "./data/license/leases"
StateDir: "./data/license/state"
ControlSecret: "dev-license-control-secret"
SeedNotAfter: ""
GraceDays: 0
Message: "授权已过期,请联系宇信达续费"
Agent:
CapsuleSecret: "dev-agent-capsule-secret"
RegisterSecret: "dev-only-change-me"
YuhengTicket:
Enabled: true
Secret: "dev-yuheng-ticket-secret-change-me"
Issuer: yuheng
Audience: aijianzhan
MaxAgeSec: 120
Storage:
Driver: local
LocalRoot: /app/data/uploads
PublicBase: "http://127.0.0.1:8180/api/v1/storage"
# 生产:与 PublicBaseURL 同域,例如 https://aijz.example.com/api/v1/storage
DBSync:
Enabled: true
DataDir: /app/data/dbsync
LwwAuditTTLDays: 90
ReconcileMinSec: 300
DefaultRemoteDriver: postgres
DefaultRemoteDSN: ""