mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Added additional env variables to avoid matching with default for systems, issue #1255
This commit is contained in:
@@ -114,6 +114,18 @@ def get_env_variables():
|
||||
'password': environ.get('password')
|
||||
}
|
||||
|
||||
env_variables = {
|
||||
'host': environ.get('TB_GW_HOST'),
|
||||
'port': int(environ.get('TB_GW_PORT')) if environ.get('TB_GW_PORT') else None,
|
||||
'accessToken': environ.get('TB_GW_ACCESS_TOKEN'),
|
||||
'caCert': environ.get('TB_GW_CA_CERT'),
|
||||
'privateKey': environ.get('TB_GW_PRIVATE_KEY'),
|
||||
'cert': environ.get('TB_GW_CERT'),
|
||||
'clientId': environ.get('TB_GW_CLIENT_ID'),
|
||||
'username': environ.get('TB_GW_USERNAME'),
|
||||
'password': environ.get('TB_GW_PASSWORD')
|
||||
}
|
||||
|
||||
converted_env_variables = {}
|
||||
|
||||
for (key, value) in env_variables.items():
|
||||
|
||||
Reference in New Issue
Block a user