Files
go_blog/config/config.yml
2025-04-15 16:47:00 +08:00

32 lines
692 B
YAML

database:
Driver: mysql
Host: 47.93.160.42
Port: 3630
User: blog
Password: qI7=bL4@iJ
DBName: blog
Charset: utf8mb4
Prefix: gin_
DSN: "mysql:mysql@tcp(47.93.160.42:3630)/gin_blog?charset=utf8mb4&parseTime=True&loc=Local"
# 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"
security:
JWTSecret: "jwt_secret"
project:
StaticUrlMapPath:
- assets/static/: static/
- assets/docs/: docs/
- media/: media/
TemplateGlob: "templates/**/*"
MediaFilePath: "media/upload/"
server:
Port: 8090
ReadTimeout: 60
WriteTimeout: 60
theme:
current: "default"