> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/binary-data.md).

# Configure binary storage with environment variables in Duaer

In Duaer, use environment variables for binary storage mode and path. The main process and workers must share one configuration.
## Mode and path

Set the binary-storage variables from your deploy docs so the main process and workers share one configuration. When binary reads fail in queue mode, the error copy points here.

Concepts are under [binary data](/hosting/scaling/binary-data.md). Restart after a change. Do not use the removed in-memory mode, and do not give each process its own temporary directory.
## Questions

### What do Duaer’s binary environment variables control?

Binary storage mode and path. The main process and workers must share one configuration. In-memory mode is removed. Do not set it back to memory.

