File size: 381 Bytes
7f3eb40
 
 
 
 
 
 
 
 
 
 
602a27e
7f3eb40
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: '3'

services:
  app:
    build:
      context: .
      dockerfile: Dockerfile
    command: sh -c "uvicorn main:app --reload --port=8000 --host=0.0.0.0"
    ports:
      - "8000:8000"
    volumes:
      - ./app:/
    environment:
      - OPENAI_API_KEY=YPUR-OPENAI_API_KEY
      - REDIS_URL=YOUR-REDIS_URL
      - HUGGINGFACEHUB_API_TOKEN=YOUR-HUGGINGFACEHUB_API_TOKEN