LicenseManger/config/config.yaml

30 lines
613 B
YAML

server:
port: 8081
mode: debug # release/debug
database:
type: sqlite3
path: ./data/license.db
jwt:
secret: your-secret-key
expire: 24h # token过期时间
email:
host: smtp.example.com
port: 587
username: your-email@example.com
password: your-password
upload:
path: ./uploads
site:
title: "授权验证管理平台"
description: "专业的软件授权和设备管理平台"
base_url: "http://localhost:8080"
icp: "京ICP备XXXXXXXX号-1"
copyright: "© 2024 Your Company Name. All rights reserved."
logo: "/static/images/logo.png"
favicon: "/static/images/favicon.ico"