add config.yml

This commit is contained in:
zhangchao
2024-07-24 04:19:01 +08:00
parent 82eadb8921
commit 1860e3666d
5 changed files with 120 additions and 6 deletions

26
conf/config.yml Normal file
View File

@@ -0,0 +1,26 @@
mysql:
Type: mysql
Host: 127.0.0.1
Port: 3306
User: root
Password: root
DBName: blog
Charset: utf8mb4
Prefix: gin_
# Prefix: gin_ # This line is commented out in the original .ini file
jwt:
SecretKey: "\x13\xbf\xd2 1\xce\x8b\xc1\t\xc1=\xec\x07\x93\xd4\x9e\xbco\xb0Z"
project:
StaticUrlMapPath:
- assets/static/: static/
- assets/docs/: docs/
- media/: media/
TemplateGlob: "templates/**/*"
MediaFilePath: "media/upload/"
server:
Port: 7890
ReadTimeout: 60
WriteTimeout: 60