Files
SeeyonFileSystem/server/config.yaml
2026-07-18 10:52:32 +08:00

40 lines
910 B
YAML

# =============================================
# 文件管理系统配置
# =============================================
server:
port: 8075
mode: debug
public_url: "http://127.0.0.1:5173"
database:
type: mysql # mysql / sqlserver / postgres
host: 127.0.0.1
port: 3306
username: root
password: "123456"
dbname: seeyon_fs
jwt:
secret: seeyon-filesystem-jwt-secret-key-2024
expiration: 24
storage:
default_policy_id: 1
local_base_path: D:/Seeyon/A8/localfile
cdn_host: "http://127.0.0.1:3090"
cdn_path_prefix: "/public"
# 备份工具路径(留空则自动搜索)
backup:
mysqldump_path: ""
mysql_path: ""
pgdump_path: ""
psql_path: ""
sqlcmd_path: ""
# 授权配置
license:
file_path: "" # 授权文件路径, 留空则默认 ./license.json
verify_url: "" # 远程验证接口(可选), 如 http://verify.example.com/api/license/verify