LibreTranslate/docker-compose.cuda.yml

19 lines
369 B
YAML
Raw Normal View History

2022-06-20 22:20:07 +00:00
version: "3"
services:
libretranslate-cuda:
container_name: libretranslate-cuda
build:
context: .
dockerfile: docker/Dockerfile.cuda
restart: unless-stopped
ports:
- 5000:5000
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]