File size: 1,106 Bytes
39b5ef2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
45
46
47
48
49
50
51
version: '3.8'

services:
  api-gateway:
    build: ./services/api-gateway
    ports:
      - "5000:5000"
    environment:
      - PORT=5000
      - AUTH_SERVICE_URL=http://auth-service:5001
      - FILE_PARSER_SERVICE_URL=http://file-parser-service:5002
      - AI_SERVICE_URL=http://ai-service:5003
      - FRONTEND_SERVICE_URL=http://frontend-service:5004
    depends_on:
      - auth-service
      - file-parser-service
      - ai-service
      - frontend-service

  auth-service:
    build: ./services/auth-service
    ports:
      - "5001:5001"
    environment:
      - PORT=5001
      - GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}

  file-parser-service:
    build: ./services/file-parser-service
    ports:
      - "5002:5002"
    environment:
      - PORT=5002

  ai-service:
    build: ./services/ai-service
    ports:
      - "5003:5003"
    environment:
      - PORT=5003
      - GEMINI_API_KEY=${GEMINI_API_KEY}
      - HF_TOKEN=${HF_TOKEN}
      - HF_API_KEY=${HF_API_KEY}

  frontend-service:
    build: ./services/frontend-service
    ports:
      - "5004:5004"
    environment:
      - PORT=5004