File size: 474 Bytes
40c3ade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: "3.9"
services:
  streamlit_app:
    image: myretrievalgpt
    build: .
    tty: true
    ports:
      - 7860:7860
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
  dev_app:
    image: myretrievalgpt
    tty: true
    volumes:
      - ./app:/app
      - ./root:/root
    depends_on:
      - streamlit_app 
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]