File size: 1,651 Bytes
347d82c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
services:
  hf-final-assignment-prod:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "12500:7860"
    environment:
      - NVIDIA_API_KEY=${NVIDIA_API_KEY}  # Load this key from .env or manually add the secret
      - GOOGLE_API_KEY=${GOOGLE_API_KEY}  # Load this key from .env or manually add the secret
      - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY} # Load this key from .env or manually add the secret
      - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY} # Load this key from .env or manually add the secret
      - LANGFUSE_HOST=${LANGFUSE_HOST} # Load this key from .env or manually add the secret
      - HF_TOKEN=${HF_TOKEN} # Load this key from .env or manually add the secret
    # volumes:
    #   - .:/app
    restart: unless-stopped
    networks:
      - app-network

  hf-final-assignment-dev:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "12501:7860"
    environment:
      - NVIDIA_API_KEY=${NVIDIA_API_KEY}  # Load this key from .env or manually add the secret
      - GOOGLE_API_KEY=${GOOGLE_API_KEY}  # Load this key from .env or manually add the secret
      - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY} # Load this key from .env or manually add the secret
      - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY} # Load this key from .env or manually add the secret
      - LANGFUSE_HOST=${LANGFUSE_HOST} # Load this key from .env or manually add the secret
      - HF_TOKEN=${HF_TOKEN} # Load this key from .env or manually add the secret
    restart: unless-stopped
    volumes:
      - .:/app
    networks:
      - app-network

networks:
  app-network:
    driver: bridge