aplbrain / aplbrain/bossphorus
Allow user to configure the DataManager stack they want to run
- 主要語言
- Rust
- 星號
- 1
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I'm thinking we should make the binary configurable in a file, but with sane defaults. Something like:
`config.yml`
```yml
port: 8090
cache: "LRU"
usage_manager: "console"
data_managers:
- ChunkedFileDataManager:
upload_path: "uploads/"
- BossDBRelayDataManager:
host: "bossdb.io"
protocol: "https"
token: "public"
```
And callable with `bossphorus --config config.yml`
In particular, I think being able to specify which data managers are used and in which order is something users may want to be able to do at runtime, which is perhaps a bit more complicated than the current env-variable technique allows.
@movestill thoughts?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。