https://dagster.io/ logo
#ask-community
Title
# ask-community
m

Mark Fickett

05/03/2022, 3:09 PM
Can you set
$DAGSTER_HOME
any way except an env var? Our project gets most of its configurations from a
.env
file, and isn't always set up with something that publishes
.env
values as env vars. If it's not possible I can certainly adjust, just wondering if there were a way to set the home value for a Dagster instance at startup time or something.
👍 2
p

prha

05/03/2022, 4:35 PM
No, env vars are currently the only way of setting
$DAGSTER_HOME
. What does the ideal solution look like for you? Would wrapping
dagster
/
dagit
/
dagster-daemon
calls with a
python-dotenv
invocation work?
ty thankyou 1
m

Mark Fickett

05/03/2022, 4:39 PM
I think switching to
dotenv
with a Python layout may be ideal, if everyone on the team is up for it. (: Good to know about
python-dotenv
though, a CLI wrapper that promotes
.env
values to env vars could do the trick too.
3 Views