1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-16 20:40:10 +01:00
LibreTranslate/docker-compose.cuda.yml
2023-01-13 10:24:56 -05:00

19 lines
371 B
YAML

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