Skip to content

Commit

Permalink
Docker-compose: Add models to bind mounts
Browse files Browse the repository at this point in the history
At least one bind mount is required in the volumes YAML block otherwise
the docker build fails. Models should be fine to default since it always
exists.

Signed-off-by: kingbri <bdashore3@proton.me>
  • Loading branch information
bdashore3 committed Aug 20, 2024
1 parent dae3940 commit ecaddec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- NAME=TabbyAPI
- NVIDIA_VISIBLE_DEVICES=all
volumes:
# - /path/to/models:/app/models # Change me
- ./models:/app/models # Change me
# - /path/to/config.yml:/app/config.yml # Change me
# - /path/to/api_tokens.yml:/app/api_tokens.yml # Change me
deploy:
Expand Down

0 comments on commit ecaddec

Please sign in to comment.