I'm having trouble with my dagster.yaml file -- fo...
# ask-community
c
I'm having trouble with my dagster.yaml file -- for some reason,
DagsterInstance.from_config
doesn't seem to load it correctly. I can't seem to track down what's going on with this environment. Does
DagsterInstance.from_config
have some default behavior if the dagster.yaml isn't found at the specified directory?
🤖 1
the dagster.yaml:
Copy code
storage:
  sqlite:
    base_dir:
      env: DAGSTER_OUTPUT_DIRECTORY
compute_logs:
  module: dagster.core.storage.local_compute_log_manager
  class: LocalComputeLogManager
  config:
    base_dir:
      env: DAGSTER_STORAGE_OUTPUT_DIRECTORY
telemetry:
  enabled: false
note that telemetry is false
in my logs i see this warning:
furthermore, the DAGSTER_OUTPUT_DIRECTORY env var is totally ignored... and event logs & compute logs are written to the directory that I pass into
DagsterInstance.from_config
That makes me think that dagster is defaulting to use that directory as DAGSTER_HOME and writing all of the data there because it couldn't find the yaml?
Turns out my issue was bazel related... my file couldn't see the dagster.yaml as I suspected... sorry for the noise!