9 environment variables are read in code but not listed in .env.example (STORAGE_LOCAL_PATH, CF_PLACEMENT_REGION, CLICKZETTA_VOLUME_NAME, DIFY_ENV_NACOS_ACCESS_KEY, …)
dify_config.STORAGE_LOCAL_PATH = os.environ["STORAGE_LOCAL_PATH"]
- web/cloudflare.worker.ts:82 (opens in new tab): const placementRegion = process.env.CF_PLACEMENT_REGION
- api/extensions/storage/clickzetta_volume/clickzetta_volume_storage.py:86 (opens in new tab): values.setdefault("volume_name", os.getenv("CLICKZETTA_VOLUME_NAME"))
- api/configs/remote_settings_sources/nacos/http_request.py:17 (opens in new tab): self.ak = os.getenv("DIFY_ENV_NACOS_ACCESS_KEY")
- api/configs/remote_settings_sources/nacos/http_request.py:16 (opens in new tab): self.password = [redacted]
An agent has to guess a value the app expects, or it runs with a silently different configuration.