environment variables are ignored by default in scripts/fedbiomed_environment
#504
Labels
Milestone
scripts/fedbiomed_environment
#504
In GitLab by @sharkovsky on Apr 12, 2023, 16:12
In the script
fedbiomed_environment
we provide the option to setUPLOADS_URL
MQTT_BROKER
MQTT_BROKER_PORT
through environment variables. This is very nice, and is common practice.
However, these variables are ignored by default unless the user also sets the undocumented
FEDBIOMED_NO_RESET
variable.I personally found this confusing and it took me a long time to identify the problem.
I would prefer the following policy:
FEDBIOMED_FORCE_RESET
env variable to force resetting the environment (hence unsetting those env variables) at the beginning of the script execution.The text was updated successfully, but these errors were encountered: