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

Config Sarus runtime using environment variables #3

Open
victorusu opened this issue Dec 11, 2019 · 0 comments
Open

Config Sarus runtime using environment variables #3

victorusu opened this issue Dec 11, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@victorusu
Copy link

victorusu commented Dec 11, 2019

I would like to be able to have control as a user over Sarus by setting some environment variables. In principle, one could take control of the entire config options list (https://sarus.readthedocs.io/en/latest/config/configuration_reference.html) using environment variables.

For instance, siteMounts could be called mount or mounts (https://sarus.readthedocs.io/en/latest/config/configuration_reference.html#sitemounts-array-optional) could be defined as:

export SARUS_MOUNTS= "type:bind,source:/home,destination:/home;type:bind,source:/apps,destination:/apps"

Or one could define environment variables using something like

export SARUS_ENVS= "LD_PRELOAD=/my-path/bla.so;MYVAR=1"

The names and the syntax are not important, what is important is the control.

@Madeeks Madeeks added the enhancement New feature or request label Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants