add initial application structure with configuration, logging, and health check endpoints
This commit is contained in:
20
application.yaml
Normal file
20
application.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
server:
|
||||
port: 8080
|
||||
readTimeout: 5s
|
||||
writeTimeout: 5s
|
||||
|
||||
mysql:
|
||||
dsn: "root:mysql_78GywN@tcp(111.228.49.52:3306)/db?parseTime=true&loc=Local"
|
||||
|
||||
redis:
|
||||
addr: "111.228.49.52"
|
||||
password: "redis_7aFAxY"
|
||||
db: 0
|
||||
|
||||
log:
|
||||
level: info
|
||||
format: json
|
||||
|
||||
cron:
|
||||
enabled: true
|
||||
timezone: "Asia/Shanghai"
|
||||
Reference in New Issue
Block a user