init
This commit is contained in:
14
config.yml
Normal file
14
config.yml
Normal file
@ -0,0 +1,14 @@
|
||||
# UAdmin 配置文件
|
||||
server:
|
||||
host: "127.0.0.1"
|
||||
port: 3000
|
||||
|
||||
database:
|
||||
url: "mysql://root:123456@127.0.0.1:3306/uadmin"
|
||||
max_connections: 100
|
||||
connect_timeout: 8
|
||||
sqlx_logging: true
|
||||
|
||||
jwt:
|
||||
secret: "your-secret-key-here-please-change-in-production"
|
||||
expires_in: 86400 # 24 hours in seconds
|
||||
Reference in New Issue
Block a user