Closed sanliakeman123 closed 6 months ago
Hi @sanliakeman123,
Thank you for your interest in Thingsboard IoT Gateway. You are right, environment variables have more priority than configuration parameters. If you don't pass the variable, the gateway will not use it and it will use values from the configuration file.
how to resolve this problem??
如何规划?
The self.__modify_main_config() method in the tb_gateway_service.py file overrides the current tb_gateway configuration with environment variables
Describe the bug The credentials used are information from environment variables
Error traceback (If available):
Versions (please complete the following information):
code location thingsboard_gateway\gateway\tb_gateway_service.py line 193 self.__modify_main_config()