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

Allow prefix <CONFIG_DIR> in env variables #102

Open
jayvdb opened this issue Aug 27, 2023 · 3 comments
Open

Allow prefix <CONFIG_DIR> in env variables #102

jayvdb opened this issue Aug 27, 2023 · 3 comments

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Aug 27, 2023

I have a few environment variables that are a directory, and it would be nice to make this relative to the directory containing mprocs.yaml , like is possible for cwd

@pvolok
Copy link
Owner

pvolok commented Aug 27, 2023

Can you elaborate please?

@jayvdb
Copy link
Contributor Author

jayvdb commented Aug 27, 2023

I can do procs: {baz: {cwd: <CONFIG_DIR>/foo/bar }}.

I would like to also do procs: {baz: {env: { FOO_DIR: <CONFIG_DIR>/foo/bar }}}

@pvolok
Copy link
Owner

pvolok commented Aug 27, 2023

I understand now. Would be a good feature.

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