Skip to content

Commit

Permalink
Make compose marginally better
Browse files Browse the repository at this point in the history
  • Loading branch information
city-unit authored Dec 28, 2023
1 parent ac0d6f8 commit c0e45b0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ services:
INSTALL_FSCHAT: "true" # Set this to "true" or "false" as needed
ports:
- "5000:5000"
runtime: nvidia
environment:
- NAME=TabbyAPI
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- /mnt/nvme/models:/usr/src/app/models
- ./models:/usr/src/app/models
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]

0 comments on commit c0e45b0

Please sign in to comment.