-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1009 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1009 Bytes
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
services:
# 1. The React Website (Accessible publicly on port 80)
frontend:
build: ./frontend
ports:
- "80:80"
- "443:443"
volumes:
- ./certs:/etc/nginx/ssl:ro-
- ./exports:/usr/share/nginx/html/exports:ro
depends_on:
- node-backend
# 2. The Node Server
node-backend:
build: ./backend
ports:
- "5000:5000"
volumes:
- ./exports:/exports
environment:
- SCRAPER_API_URL=http://scraper-service:8000/api/capture
- AI_SERVICE_URL=http://ai-service:8001/audit
- PORT=5000
depends_on:
- scraper-service
- ai-service
# 3. The Selenium Scraper
scraper-service:
build: ./scraper-service
ports:
- "8000:8000"
volumes:
- ./exports:/exports
environment:
- DISPLAY=:99
# 4. The Gemini/HuggingFace AI Engine
ai-service:
build: ./ai-service
ports:
- "8001:8001"
volumes:
- ./exports:/exports
env_file:
- ./ai-service/.env