feat: load backend config from yaml

This commit is contained in:
2026-07-18 21:01:34 +08:00
parent 250b71951e
commit 62bd3d0455
5 changed files with 183 additions and 32 deletions

View File

@@ -0,0 +1,7 @@
env: development
port: "8080"
database_url: "postgres://agent:agent@localhost:5432/agent?sslmode=disable"
storage_dir: "./data/files"
auth_secret: "development-auth-secret-change-me"
system_ai_key: ""
ai_key_encryption_secret: "development-ai-key-secret-change-me"