-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.37 KB
/
Copy pathdocker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.37 KB
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
52
version: "3.8"
services:
# ─── AGEIS Backend (FastAPI + Python) ───────────────────────────
backend:
build:
context: .
dockerfile: docker/Dockerfile.backend
container_name: ageis-backend
env_file:
- backend/.env
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
- DEBUG=false
- HOST=0.0.0.0
- PORT=8000
- CORS_ORIGINS=http://localhost:3000,http://localhost:3001,http://127.0.0.1:3000,http://127.0.0.1:3001,http://172.31.105.175:3000,http://172.31.105.175:3001,http://frontend:3000
ports:
- "8000:8000"
networks:
- ageis-network
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://localhost:8000/health')",
]
interval: 30s
timeout: 10s
retries: 3
# ─── AGEIS Frontend (Next.js) ───────────────────────────────────
frontend:
build:
context: .
dockerfile: docker/Dockerfile.frontend
container_name: ageis-frontend
environment:
- NEXT_PUBLIC_API_URL=http://localhost:8000
ports:
- "3001:3000"
depends_on:
- backend
networks:
- ageis-network
networks:
ageis-network:
driver: bridge