File size: 735 Bytes
a840639
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: '3.8'
services:
  rag-api:
    build:
      context: .
      args:
        SERVICE_TARGET: api
    image: rag-chat-api:latest
    container_name: rag-chat-api
    environment:
      - GEMINI_API_KEY=${GEMINI_API_KEY}
    volumes:
      - ./data:/app/data
      - ./output_chunks.jsonl:/app/output_chunks.jsonl:ro
      - ./rag_prompt_config.jsonl:/app/rag_prompt_config.jsonl:ro
    ports:
      - "8000:8000"
    restart: unless-stopped
  rag-web:
    build:
      context: .
      args:
        SERVICE_TARGET: web
    image: rag-chat-web:latest
    container_name: rag-chat-web
    environment:
      - API_BASE=http://rag-api:8000
    depends_on:
      - rag-api
    ports:
      - "8001:8001"
    restart: unless-stopped