aplbrain / aplbrain/bossphorus
Allow user to configure the DataManager stack they want to run
- Linguagem predominante
- Rust
- Estrelas
- 1
- Forks
- 1
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.