feat: add gpu support

This commit is contained in:
Felix Spöttel
2023-03-01 16:04:05 +01:00
parent f27fe02958
commit 7ece7944bf
6 changed files with 125 additions and 55 deletions

View File

@@ -7,9 +7,12 @@ services:
worker:
container_name: whisperbox_worker
env_file: .env
# <GPU SUPPORT>
# build:
# dockerfile: worker.gpu.Dockerfile
volumes:
- whisperbox-data:/etc/whisperbox/data
# <ENABLE GPU SUPPORT>
# <GPU SUPPORT>
# deploy:
# resources:
# reservations:
@@ -23,3 +26,8 @@ services:
env_file: .env
volumes:
- whisperbox-data:/etc/whisperbox/data
labels:
- "traefik.http.routers.web.entrypoints=web"
volumes:
whisperbox-data: