-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (72 loc) · 1.73 KB
/
docker-compose.yml
File metadata and controls
79 lines (72 loc) · 1.73 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3.8'
services:
auth_platform:
build:
context: ./auth_platform
dockerfile: Dockerfile
ports:
- "8000:8000"
env_file:
- .env
environment:
- DATABASE_URL=sqlite:///./app.db
- ENVIRONMENT=local
- DEV_MODE=true
- MCP_SERVER_URL=http://mcp-server:8001
- MCP_PUSH_ENABLED=true
- MCP_TIMEOUT_SECONDS=2.0
- MCP_MAX_RETRIES=2
- AI_MODEL=${AI_MODEL}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- GROQ_API_KEY=${GROQ_API_KEY}
- DAGGER_CLOUD_TOKEN=${DAGGER_CLOUD_TOKEN}
volumes:
- ./logs:/app/logs
depends_on:
- mcp-server
networks:
- app-network
mcp-server:
build:
context: ./mcp_server
dockerfile: Dockerfile
target: development
ports:
- "8001:8001"
environment:
- MCP_PORT=8001
- DATABASE_URL=sqlite:///./mcp.db
- LOG_LEVEL=INFO
- AUTH_SERVICE_URL=http://auth_platform:8000
- FRAUD_THRESHOLD=0.7
- RULE_BASED_FALLBACK=true
- BAML_ENABLED=${BAML_ENABLED}
- BAML_TIMEOUT_MS=5000
- AI_MODEL=${AI_MODEL}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- GROQ_API_KEY=${GROQ_API_KEY}
- ALERT_CONSOLIDATION_WINDOW_MINUTES=5
- MAX_EVENTS_PER_ALERT=10
- DB_POOL_SIZE=5
- DB_MAX_OVERFLOW=10
- EVENT_RETENTION_DAYS=90
volumes:
- ./mcp_server:/workspace/mcp_server
- ./logs:/workspace/logs
networks:
- app-network
dev_portal_ui:
build:
context: ./dev-portal-ui
dockerfile: Dockerfile
ports:
- "3000:80"
environment:
- REACT_APP_API_URL=http://localhost:8000
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
mcp-data: