Chat UI 文件

在 Docker 上執行

Hugging Face's logo
加入 Hugging Face 社群

並獲得增強的文件體驗

開始使用

在 Docker 上執行

我們提供了預構建的 Docker 映象,包含內建 MongoDB 和不包含內建 MongoDB 兩種版本。有關必須提供的環境變數,請參閱配置部分。我們建議使用 --env-file 選項,以避免將金鑰洩露到您的 shell 歷史記錄中。

# Without built-in DB
docker run -p 3000:3000 --env-file .env.local --name chat-ui ghcr.io/huggingface/chat-ui

# With built-in DB
docker run -p 3000:3000 --env-file .env.local -v chat-ui:/data --name chat-ui ghcr.io/huggingface/chat-ui-db
< > 在 GitHub 上更新

© . This site is unofficial and not affiliated with Hugging Face, Inc.