first commit
This commit is contained in:
29
config/config.yaml
Normal file
29
config/config.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
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"
|
Reference in New Issue
Block a user