File size: 739 Bytes
0f95125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
services:
  ai_agent:
    build:
      context: .
      dockerfile: Dockerfile.python
    ports:
      - "8000:8000"
    environment:
      - MISTRAL_API_KEY=${MISTRAL_API_KEY}
    networks:
      - syntaxai_default

  node_backend:
    build:
      context: .
      dockerfile: Dockerfile.node
    ports:
      - "5003:5003"
    environment:
      - DATABASE_URL=${DATABASE_URL}
      - AI_AGENT_URL=http://ai_agent:8000/process-request
    depends_on:
      - ai_agent
    networks:
      - syntaxai_default

  frontend:
    build:
      context: .
      dockerfile: Dockerfile.react
    ports:
      - "80:80"
    depends_on:
      - node_backend
    networks:
      - syntaxai_default

networks:
  syntaxai_default:
    driver: bridge