Currently, the server has both a config file and environment variables, which is fine, but we have no standard for what happens if both are defined and which ought to take precedence. For example, the config has host and port fields but neither are actually used, only the environment variables are used. How should this be resolved?
Currently, the server has both a config file and environment variables, which is fine, but we have no standard for what happens if both are defined and which ought to take precedence. For example, the config has host and port fields but neither are actually used, only the environment variables are used. How should this be resolved?