Closed farodin91 closed 7 years ago
You mean something like ./ruma run -c /etc/ruma-config.json
? If no argument is provided will fall back to the current functionality and search in the current directory?
Yes in both cases!
I would also add something like RUMA_CONFIG_FILE=/etc/ruma-config.json
as environment variable.
This make deploying with docker much easier.
I'm +1 on this. I was also thinking we should change where the config file is expected to be by default. Instead of the working directory, we should use app_dirs.
Possible it would be also cool to support configuration complete with ENV. For example: You can save all of configuration in a docket-compose file.
Possible with command line option or environment variable.