polyphony-chat / symfonia

A Polyphony chat server, compatible with Spacebar and the Discord API.
Mozilla Public License 2.0
25 stars 3 forks source link

Configuration file #68

Open bitfl0wer opened 1 month ago

bitfl0wer commented 1 month ago

A lot of variables are currently being passed to the server on startup via environment variables. This is suboptimal, as environment variable files can not really be structured correctly, and because reading a config structure from environment variables is more verbose than reading a config file by loading the file and using serde.

I propose that we make these config variables available as a .toml file which gets read and parsed at server startup.