Files

41 lines
857 B
Go
Raw Permalink 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.
# https://goframe.org/docs/web/server-config-file-template
server:
address: ":12800"
openapiPath: "/api.json"
swaggerPath: "/swagger"
# https://goframe.org/docs/core/glog-config
logger:
path: "./logs" # 日志目录相对或绝对路径
file: "{Y-m-d}.log" # 按天滚动
level: "all" # 日志级别all | debug | info | warning | error
stdout: true # 是否同时输出到控制台
rotateExpire: "7d" # 日志保留时间
rotateBackup: 10 # 最多保留文件数
rotateSize: "50M" # 单文件最大大小
# https://goframe.org/docs/core/gdb-config-file
database:
default:
link: ""
jwt:
secret: ""
admin:
users:
- username: ""
password: ""
rsa:
server:
public:
private:
client:
public:
private:
xiaozhi:
secret_key:
generate_license_token: