aplbrain / aplbrain/bossphorus
Allow user to configure the DataManager stack they want to run
- Langage dominant
- Rust
- Étoiles
- 1
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.