|
Download docs/source/installation/docker.md from mishig/chat-ui: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/spaces/mishig/chat-ui/resolve/ad6c8550d3c9ea2bb45490c8e085fc055ee1f33d/docs/source/installation/docker.md
- Command line
-
hf download hf://spaces/mishig/chat-ui@ad6c8550d3c9ea2bb45490c8e085fc055ee1f33d/docs/source/installation/docker.md
-
curl -L -o docker.md https://huggingface.co/spaces/mishig/chat-ui/resolve/ad6c8550d3c9ea2bb45490c8e085fc055ee1f33d/docs/source/installation/docker.md
544 Bytes
| # Running on Docker | |
| Pre-built docker images are provided with and without MongoDB built in. Refer to the [configuration section](../configuration/overview) for env variables that must be provided. We recommend using the `--env-file` option to avoid leaking secrets into your shell history. | |
| ```bash | |
| # 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 | |
| ``` | |