Open
Description
I'm hosting my own instance of butler on a server. And since I'm planning to make that instance run with docker instead I thought that I might as well make the config accept env vars with a program flag.
The idea is that by running java -Dconfig_type=env -jar Bot.jar
it will switch the way it loads any configurations and parse them from the env instead.
The env keys will most likely be prefixed with BUTLER_
(eg BUTLER_BOT_TOKEN=....
).
I'm also going to make a wrapper class that can serialize and deserialize the JSON config when the config type is not set to env.
I made this issue to track any ideas and must-haves before starting.
Metadata
Metadata
Assignees
Labels
No labels