forked from ayanokojix21/EduVerse
-
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) · 1.29 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.29 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
services:
# ── MongoDB: Local Data Persistence ──────────────────────────────────────────
mongodb:
image: mongo:latest
container_name: eduverse-db
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
restart: always
# ── Backend: Agentic Core (Cloud Gemma 4 via Google AI Studio) ───────────────
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: eduverse-api
ports:
- "8000:8000"
env_file:
- ./backend/.env
environment:
- MONGO_URI=mongodb://mongodb:27017/eduverse
depends_on:
- mongodb
volumes:
- ./backend/data:/app/data
restart: on-failure
# ── RL Server: Shadow Auditing ───────────────────────────────────────────────
rl-server:
build:
context: ./backend
dockerfile: Dockerfile.rl
container_name: eduverse-rl
ports:
- "8001:8001"
env_file:
- ./backend/.env
environment:
- MONGO_URI=mongodb://mongodb:27017/eduverse
depends_on:
- mongodb
restart: on-failure
volumes:
mongodb_data: