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

Configure sandbox using environment variables #17

Open
JayH5 opened this issue Apr 4, 2016 · 1 comment
Open

Configure sandbox using environment variables #17

JayH5 opened this issue Apr 4, 2016 · 1 comment

Comments

@JayH5
Copy link
Contributor

JayH5 commented Apr 4, 2016

Currently there is only one way to configure sandbox applications: vxsandbox.resources.config.FileConfigResource. This requires a JSON configuration file.

In order to be more Docker/Mesos friendly, it would be good to be able to configure the application using environment variables, using something like "vxsandbox.resources.config.EnvVarConfigResource".

@hodgestar
Copy link
Contributor

I was wondering whether an environment variable was a sane place to put a whole Javascript file. On my machine the maximum size of argument length is about 2M, which is probably fine for a Javascript app, but could get tricky if something has a big config item (e.g. translations for 11 languages).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants