-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
104 lines (99 loc) · 2.78 KB
/
docker-compose.yml
File metadata and controls
104 lines (99 loc) · 2.78 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: "3.9"
services:
bundlefabric-api:
build:
context: .
dockerfile: Dockerfile
container_name: bundlefabric-api
image: bundlefabric-api:2.0
restart: unless-stopped
ports:
- "127.0.0.1:19100:8000"
environment:
- PYTHONPATH=/app
- BUNDLES_DIR=/app/bundles
- OLLAMA_URL=http://ollama:11434
- QDRANT_URL=http://qdrant:6333
- DEERFLOW_URL=http://deer-flow-gateway:8001
- LANGGRAPH_URL=http://deer-flow-langgraph:2024
- LANGGRAPH_ASSISTANT_ID=bee7d354-5df5-5f26-a978-10ea053f620d
- DEERFLOW_TIMEOUT=120
- OLLAMA_MODEL=qwen2.5:1.5b
- USE_OLLAMA=true
- OLLAMA_TIMEOUT=90
- JWT_SECRET=d9d3c977eb4d712db6c9d1f94c675b42a4813cad835e1bbecd10e4992f16da8d
- HISTORY_DB=/app/data/history.db
- GITHUB_CLIENT_ID=
- GITHUB_CLIENT_SECRET=
- WEBUI_URL=https://app.bundlefabric.org
- API_URL=https://api.bundlefabric.org
volumes:
- ./bundles:/app/bundles:rw
- ./secrets_vault:/app/secrets_vault:rw
- bundlefabric_data:/app/data
networks:
- bundlefabric_net
- sylvea_net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
profiles:
- phase2
prometheus:
image: prom/prometheus:latest
container_name: bundlefabric-prometheus
restart: unless-stopped
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--storage.tsdb.retention.time=30d"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
- prometheus_data:/prometheus
ports:
- "127.0.0.1:19190:9090"
networks:
- bundlefabric_net
- sylvea_net
profiles:
- phase2
bundlefabric-mcp:
build:
context: ./mcp
dockerfile: Dockerfile
container_name: bundlefabric-mcp
image: bundlefabric-mcp:1.0
restart: unless-stopped
ports:
- "127.0.0.1:18090:8090"
environment:
- BF_API_KEY=${BF_ADMIN_API_KEY}
- BF_API_URL=http://bundlefabric-api:8000
- BF_TAILSCALE_URL=http://100.84.103.104:19100
- BF_MAX_BUNDLES=20
- BF_EXECUTE_TIMEOUT=120
- FASTMCP_TRANSPORT=sse
- FASTMCP_HOST=0.0.0.0
- FASTMCP_PORT=8090
- BF_LOG_LEVEL=INFO
networks:
- bundlefabric_net
profiles:
- phase3
volumes:
bundlefabric_data:
name: bundlefabric_data
prometheus_data:
name: bundlefabric_prometheus_data
networks:
bundlefabric_net:
name: bundlefabric_net
driver: bridge
sylvea_net:
name: sylvea_net
external: true