Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Added env. MACOS (#3297)

writinwaters464a4d6ead92
diff --git a/docker/.env b/docker/.env
index 7897f01024..55c6fc448e 100644
--- a/docker/.env
+++ b/docker/.env
@@ -92,4 +92,5 @@ TIMEZONE='Asia/Shanghai'
# Uncomment the following line if you have limited access to huggingface.co:
# HF_ENDPOINT=https://hf-mirror.com
-
+# Uncomment the following line if your OS is MacOS:
+# MACOS=1
diff --git a/docker/README.md b/docker/README.md
index f230ef444a..9790c5d10d 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -108,6 +108,8 @@ The [.env](./.env) file contains important environment variables for Docker.
The local time zone. Defaults to `'Asia/Shanghai'`.
- `HF_ENDPOINT`
The mirror site for huggingface.co. It is disabled by default. You can uncomment this line if you have limited access to the primary Hugging Face domain.
+- `MACOS`  
+  Optimizations for MacOS. It is disabled by default. You can uncomment this line if your OS is MacOS.
## 🐋 Service configuration