Multiple ENVs different data for each ENV #2526
theobouwman
started this conversation in
General
Replies: 1 comment
-
We dont currently have an environment variable that controls that. You could add that yourself- it would require a code change to prepdocs.py to look for that environment variable and select the folder appropriately. When I have different data for different environments, I typically use git branch'es myself, but that may not work for your setup. I think an azd env variable could work well. azd env set DATA_DIRECTORY data1 And then os.getenv("DATA_DIRECTORY") inside prepdocs.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We use multiple envs for different clients. The
/data
directory is used as data for both environments.Is it possible, and how, to use different directories like
data/env1
and/data/env2
for each environment?Thanks
Beta Was this translation helpful? Give feedback.
All reactions