add initial application structure with configuration, logging, and health check endpoints

This commit is contained in:
kever
2026-01-15 22:48:28 +08:00
parent fe67f09e72
commit 2efefc7e05
24 changed files with 178 additions and 83 deletions

View File

@@ -4,7 +4,7 @@ server:
writeTimeout: 5s
mysql:
dsn: "root:mysql_78GywN@tcp(111.228.49.52:3306)/db?parseTime=true&loc=Local"
dsn: "root:mysql_78GywN@tcp(111.228.49.52:3306)/epic_db?parseTime=true&loc=Local"
redis:
addr: "111.228.49.52"
@@ -13,7 +13,7 @@ redis:
log:
level: info
format: json
format: console
cron:
enabled: true