Configuration variables in clusters¶
In order to have diferent configuration variables in each cluster host with the same isardvdi.cfg for all hosts we have two systems:
-
/opt/isard-local/environmentis a file that loads variables at shell loading time. Therefore this variable content prevail overisardvdi.cfgvariables, because the shell is loaded afterdocker-compose. These variable contents are loaded running the system usingdocker-composeandpcs.-
sh -iloads$ENVfile -
Export
ENVenvironment variable -
Mount
/opt/isard-local/environmentto/usr/local/etc/environment
-
-
/opt/isard/config/can content files that are loaded bypcscomposeresource before rundocker-compose. Therefore this variable content prevail overisardvdi.cfg. These variable contents are not loaded usingdocker-composewithoutpcs.evaluate_envfunction atcomposepcsresource