docs(website): use registry.tabbyml.com for docker registry

This commit is contained in:
Meng Zhang 2024-09-10 13:56:58 -07:00
parent d3519e5277
commit c82982788c
2 changed files with 6 additions and 4 deletions

View File

@ -21,7 +21,7 @@ version: '3.5'
services:
tabby:
restart: always
image: tabbyml/tabby
image: registry.tabbyml.com/tabbyml/tabby
command: serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct --device cuda
volumes:
- "$HOME/.tabby:/data"
@ -45,7 +45,7 @@ version: '3.5'
services:
tabby:
restart: always
image: tabbyml/tabby
image: registry.tabbyml.com/tabbyml/tabby
entrypoint: /opt/tabby/bin/tabby-cpu
command: serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct
volumes:

View File

@ -19,7 +19,8 @@ import TabItem from '@theme/TabItem';
```bash title="run.sh"
docker run -it --gpus all \
-p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct --device cuda
registry.tabbyml.com/tabbyml/tabby \
serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct --device cuda
```
</TabItem>
@ -29,7 +30,8 @@ import TabItem from '@theme/TabItem';
```bash title="run.sh"
docker run --entrypoint /opt/tabby/bin/tabby-cpu -it \
-p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct
registry.tabbyml.com/tabbyml/tabby \
serve --model StarCoder-1B --chat-model Qwen2-1.5B-Instruct
```
</TabItem>}