This commit is contained in:
Hericium-sys
2026-04-25 13:26:02 +08:00
commit 62b87c6002
29 changed files with 1884 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
app:
host: "0.0.0.0"
port: 8080
version: "0.1.0"
debug: true
timezone: "UTC"
environment: "development"
logger:
level: "info"
format: "console" # console, json
output: "stdout" # stdout, file
filename: "logs/app.log"
max_size: 100
max_age: 30
max_backups: 3
compress: false
database:
host: "127.0.0.1"
port: 2000
username: "root"
password: "123456"
dbname: "skeleton"
sslmode: "disable"
max_idle_conns: 10
max_open_conns: 100
conn_max_lifetime: 60
redis:
host: "127.0.0.1"
port: 2001
password: "123456"
database: 0
pool_size: 10
min_idle_conns: 5
max_retries: 3
jwt:
secret: "change-this-secret-key-in-production"
expire_hours: 24
issuer: "HeTianXia"