Chat UI documentation

Running on Docker

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Running on Docker

Pre-built docker images are provided with and without MongoDB built in. Refer to the configuration section for env variables that must be provided. We recommend using the --env-file option to avoid leaking secrets into your shell history.

# 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
< > Update on GitHub