From 464a4d6ead925b9f5b336c60544e095ebc3b5839 Mon Sep 17 00:00:00 2001 From: writinwaters <93570324+writinwaters@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:50:35 +0800 Subject: [PATCH] Added env. MACOS (#3297) ### What problem does this PR solve? ### Type of change - [x] Documentation Update --- docker/.env | 3 ++- docker/README.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/.env b/docker/.env index 7897f0102..55c6fc448 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 f230ef444..9790c5d10 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