File size: 668 Bytes
313814b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
  speaches-cuda:
    image: fedirz/speaches:cuda
    build:
      dockerfile: Dockerfile.cuda
      context: .
      tags:
        - fedirz/speaches:cuda
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    restart: unless-stopped
    ports:
      - 8000:8000
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: ["gpu"]
  speaches-cpu:
    image: fedirz/speaches:cpu
    build:
      dockerfile: Dockerfile.cpu
      context: .
      tags:
        - fedirz/speaches:cpu
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    restart: unless-stopped
    ports:
      - 8000:8000