1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-17 21:10:12 +01:00
LibreTranslate/docker-compose.cuda.yml

19 lines
371 B
YAML
Raw Permalink Normal View History

2022-06-21 00:20:07 +02:00
version: "3"
services:
libretranslate-cuda:
container_name: libretranslate-cuda
build:
context: .
2023-01-13 16:24:56 +01:00
dockerfile: docker/cuda.Dockerfile
2022-06-21 00:20:07 +02:00
restart: unless-stopped
ports:
2023-01-12 14:23:29 +01:00
- "5000:5000"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]