Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] Set file path to config files #1574

Open
andersenthomas98 opened this issue Oct 29, 2024 · 2 comments
Open

[HELP] Set file path to config files #1574

andersenthomas98 opened this issue Oct 29, 2024 · 2 comments
Assignees
Labels
can be closed If bug fixed or feature is implemented

Comments

@andersenthomas98
Copy link

Describe the issue
Hi! Is it possible to specify the file path to the config files (config/tb_gateway, etc...) necessary to run the thingsboard gateway?

@imbeacon
Copy link
Member

imbeacon commented Nov 4, 2024

Hi @andersenthomas98,

Unfortunately, there is no such option for now, you can do this only by modifying thingsboard_gateway/tb_gateway.py file of your gateway. Probably we will add ability to use environment variable to configure the path to config folder in future releases.

@imbeacon imbeacon added the feature Request to add some feature label Nov 4, 2024
@imbeacon
Copy link
Member

imbeacon commented Nov 4, 2024

Added this functionality in f8ace46, you can use the version from the master branch or wait for release, environmental variable for config folder location is:

TB_GW_CONFIG_DIR

@imbeacon imbeacon added can be closed If bug fixed or feature is implemented and removed help wanted feature Request to add some feature labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be closed If bug fixed or feature is implemented
Projects
None yet
Development

No branches or pull requests

3 participants