Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

docker.md 544 B

You have to be logged in to leave a comment. Sign In

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
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...