Add initial framework of configuration.

feat: configuration file system of app.

Note: still work in progress.
This commit is contained in:
2026-04-27 16:55:58 +08:00
parent e8a0c48658
commit 54f0deadbc
9 changed files with 515 additions and 40 deletions

View File

@@ -1,3 +1,17 @@
server:
host: 0.0.0.0
port: 10086
database:
driver: sqlite3
path: data/mygo.db
storage:
driver: local
local:
path: data/files
jwt:
secret: change-me-in-production
access_ttl: 15m
refresh_ttl: 168h