File size: 558 Bytes
e07602f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
services:
  ai:
    container_name: "milchchanai"
    build:
      context: .
    restart: unless-stopped
    tty: true
    env_file:
      - .env
    environment:
      GRADIO_SERVER_NAME: 0.0.0.0
      GRADIO_SERVER_PORT: 7860
      HF_HOME: /data/huggingface
      WHISPER_CACHE_DIR: /data/whisper
    volumes:
      - hf-cache:/data/huggingface
      - whisper-cache:/data/whisper
    ports:
      - "7860:7860"
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
volumes:
  hf-cache:
  whisper-cache: