snow-flow 1.1.74 → 1.1.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-flow/queen/queen-memory.db +0 -0
- package/.claude-flow/queen-test/test-memory.db +0 -0
- package/.claude-flow/queen-test/test-memory.db-agents +0 -0
- package/.claude-flow/queen-test/test-memory.db-import +0 -0
- package/.claude-flow/queen-test/test-memory.db-memory +0 -0
- package/.claude-flow/queen-test/test-memory.db-neural +0 -0
- package/CLAUDE.md +111 -8
- package/README.md +117 -50
- package/deploy.sh +366 -0
- package/dist/cli.js +226 -0
- package/dist/cli.js.map +1 -1
- package/dist/mcp/http-transport-wrapper.d.ts +29 -0
- package/dist/mcp/http-transport-wrapper.d.ts.map +1 -0
- package/dist/mcp/http-transport-wrapper.js +318 -0
- package/dist/mcp/http-transport-wrapper.js.map +1 -0
- package/dist/mcp/service-discovery-client.d.ts +83 -0
- package/dist/mcp/service-discovery-client.d.ts.map +1 -0
- package/dist/mcp/service-discovery-client.js +211 -0
- package/dist/mcp/service-discovery-client.js.map +1 -0
- package/dist/mcp/servicenow-deployment-mcp.js +262 -29
- package/dist/mcp/servicenow-deployment-mcp.js.map +1 -1
- package/dist/mcp/servicenow-intelligent-mcp.js +252 -18
- package/dist/mcp/servicenow-intelligent-mcp.js.map +1 -1
- package/dist/mcp/servicenow-operations-mcp.js +274 -46
- package/dist/mcp/servicenow-operations-mcp.js.map +1 -1
- package/dist/orchestration/discovery/service-discovery.d.ts +81 -0
- package/dist/orchestration/discovery/service-discovery.d.ts.map +1 -0
- package/dist/orchestration/discovery/service-discovery.js +808 -0
- package/dist/orchestration/discovery/service-discovery.js.map +1 -0
- package/dist/orchestration/distributed-orchestrator.d.ts +131 -0
- package/dist/orchestration/distributed-orchestrator.d.ts.map +1 -0
- package/dist/orchestration/distributed-orchestrator.js +712 -0
- package/dist/orchestration/distributed-orchestrator.js.map +1 -0
- package/dist/orchestration/distribution/task-distribution-engine.d.ts +53 -0
- package/dist/orchestration/distribution/task-distribution-engine.d.ts.map +1 -0
- package/dist/orchestration/distribution/task-distribution-engine.js +586 -0
- package/dist/orchestration/distribution/task-distribution-engine.js.map +1 -0
- package/dist/orchestration/interfaces/distributed-orchestration.interface.d.ts +606 -0
- package/dist/orchestration/interfaces/distributed-orchestration.interface.d.ts.map +1 -0
- package/dist/orchestration/interfaces/distributed-orchestration.interface.js +65 -0
- package/dist/orchestration/interfaces/distributed-orchestration.interface.js.map +1 -0
- package/dist/orchestration/protocols/mcpx-protocol.d.ts +71 -0
- package/dist/orchestration/protocols/mcpx-protocol.d.ts.map +1 -0
- package/dist/orchestration/protocols/mcpx-protocol.js +668 -0
- package/dist/orchestration/protocols/mcpx-protocol.js.map +1 -0
- package/dist/orchestration/state/distributed-state-manager.d.ts +89 -0
- package/dist/orchestration/state/distributed-state-manager.d.ts.map +1 -0
- package/dist/orchestration/state/distributed-state-manager.js +716 -0
- package/dist/orchestration/state/distributed-state-manager.js.map +1 -0
- package/dist/queen/advanced-integration-test.d.ts +48 -0
- package/dist/queen/advanced-integration-test.d.ts.map +1 -0
- package/dist/queen/advanced-integration-test.js +474 -0
- package/dist/queen/advanced-integration-test.js.map +1 -0
- package/dist/queen/agent-factory.d.ts +40 -0
- package/dist/queen/agent-factory.d.ts.map +1 -0
- package/dist/queen/agent-factory.js +433 -0
- package/dist/queen/agent-factory.js.map +1 -0
- package/dist/queen/index.d.ts +58 -0
- package/dist/queen/index.d.ts.map +1 -0
- package/dist/queen/index.js +79 -0
- package/dist/queen/index.js.map +1 -0
- package/dist/queen/integration-example.d.ts +82 -0
- package/dist/queen/integration-example.d.ts.map +1 -0
- package/dist/queen/integration-example.js +220 -0
- package/dist/queen/integration-example.js.map +1 -0
- package/dist/queen/integration-test.d.ts +72 -0
- package/dist/queen/integration-test.d.ts.map +1 -0
- package/dist/queen/integration-test.js +564 -0
- package/dist/queen/integration-test.js.map +1 -0
- package/dist/queen/mock-mcp-client.d.ts +66 -0
- package/dist/queen/mock-mcp-client.d.ts.map +1 -0
- package/dist/queen/mock-mcp-client.js +297 -0
- package/dist/queen/mock-mcp-client.js.map +1 -0
- package/dist/queen/neural-learning.d.ts +28 -0
- package/dist/queen/neural-learning.d.ts.map +1 -0
- package/dist/queen/neural-learning.js +244 -0
- package/dist/queen/neural-learning.js.map +1 -0
- package/dist/queen/queen-memory.d.ts +25 -0
- package/dist/queen/queen-memory.d.ts.map +1 -0
- package/dist/queen/queen-memory.js +273 -0
- package/dist/queen/queen-memory.js.map +1 -0
- package/dist/queen/run-integration-tests.d.ts +9 -0
- package/dist/queen/run-integration-tests.d.ts.map +1 -0
- package/dist/queen/run-integration-tests.js +28 -0
- package/dist/queen/run-integration-tests.js.map +1 -0
- package/dist/queen/servicenow-queen.d.ts +56 -0
- package/dist/queen/servicenow-queen.d.ts.map +1 -0
- package/dist/queen/servicenow-queen.js +659 -0
- package/dist/queen/servicenow-queen.js.map +1 -0
- package/dist/queen/types.d.ts +58 -0
- package/dist/queen/types.d.ts.map +1 -0
- package/dist/queen/types.js +7 -0
- package/dist/queen/types.js.map +1 -0
- package/dist/version.d.ts +3 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +27 -2
- package/dist/version.js.map +1 -1
- package/docker/base/Dockerfile.base +45 -0
- package/docker/generate-services.js +244 -0
- package/docker/nginx/Dockerfile +71 -0
- package/docker/nginx/consul-template.hcl +64 -0
- package/docker/nginx/healthcheck.sh +178 -0
- package/docker/nginx/nginx.conf +210 -0
- package/docker/nginx/supervisord.conf +57 -0
- package/docker/nginx/templates/upstreams.conf.tpl +48 -0
- package/docker/services/automation-mcp/Dockerfile +32 -0
- package/docker/services/automation-mcp/config/service.json +28 -0
- package/docker/services/automation-mcp/entrypoint.js +51 -0
- package/docker/services/deployment-mcp/Dockerfile +32 -0
- package/docker/services/deployment-mcp/entrypoint.js +51 -0
- package/docker/services/flow-composer-mcp/Dockerfile +32 -0
- package/docker/services/flow-composer-mcp/config/service.json +28 -0
- package/docker/services/flow-composer-mcp/entrypoint.js +51 -0
- package/docker/services/graph-memory-mcp/Dockerfile +32 -0
- package/docker/services/graph-memory-mcp/config/service.json +28 -0
- package/docker/services/graph-memory-mcp/entrypoint.js +51 -0
- package/docker/services/integration-mcp/Dockerfile +32 -0
- package/docker/services/integration-mcp/config/service.json +28 -0
- package/docker/services/integration-mcp/entrypoint.js +51 -0
- package/docker/services/intelligent-mcp/Dockerfile +32 -0
- package/docker/services/intelligent-mcp/config/service.json +28 -0
- package/docker/services/intelligent-mcp/entrypoint.js +51 -0
- package/docker/services/operations-mcp/Dockerfile +32 -0
- package/docker/services/operations-mcp/config/service.json +28 -0
- package/docker/services/operations-mcp/entrypoint.js +51 -0
- package/docker/services/platform-development-mcp/Dockerfile +32 -0
- package/docker/services/platform-development-mcp/config/service.json +28 -0
- package/docker/services/platform-development-mcp/entrypoint.js +51 -0
- package/docker/services/reporting-analytics-mcp/Dockerfile +32 -0
- package/docker/services/reporting-analytics-mcp/config/service.json +28 -0
- package/docker/services/reporting-analytics-mcp/entrypoint.js +51 -0
- package/docker/services/security-compliance-mcp/Dockerfile +32 -0
- package/docker/services/security-compliance-mcp/config/service.json +28 -0
- package/docker/services/security-compliance-mcp/entrypoint.js +51 -0
- package/docker/services/update-set-mcp/Dockerfile +32 -0
- package/docker/services/update-set-mcp/config/service.json +28 -0
- package/docker/services/update-set-mcp/entrypoint.js +51 -0
- package/docker-compose.override.yml +132 -0
- package/docker-compose.prod.yml +340 -0
- package/docker-compose.yml +579 -0
- package/k8s/automation-mcp.yaml +232 -0
- package/k8s/configmap.yaml +237 -0
- package/k8s/deployment-mcp.yaml +232 -0
- package/k8s/flow-composer-mcp.yaml +232 -0
- package/k8s/generate-k8s-manifests.js +453 -0
- package/k8s/graph-memory-mcp.yaml +232 -0
- package/k8s/infrastructure.yaml +456 -0
- package/k8s/ingress.yaml +361 -0
- package/k8s/integration-mcp.yaml +232 -0
- package/k8s/intelligent-mcp.yaml +232 -0
- package/k8s/kustomization.yaml +111 -0
- package/k8s/mcp-services.yaml +2552 -0
- package/k8s/monitoring.yaml +515 -0
- package/k8s/namespace.yaml +80 -0
- package/k8s/operations-mcp.yaml +232 -0
- package/k8s/platform-development-mcp.yaml +232 -0
- package/k8s/rbac.yaml +140 -0
- package/k8s/reporting-analytics-mcp.yaml +232 -0
- package/k8s/security-compliance-mcp.yaml +232 -0
- package/k8s/update-set-mcp.yaml +232 -0
- package/package.json +2 -2
|
@@ -0,0 +1,579 @@
|
|
|
1
|
+
# ServiceNow Multi-Agent MCP Services Docker Compose Configuration
|
|
2
|
+
version: '3.8'
|
|
3
|
+
|
|
4
|
+
networks:
|
|
5
|
+
mcp-network:
|
|
6
|
+
driver: bridge
|
|
7
|
+
ipam:
|
|
8
|
+
config:
|
|
9
|
+
- subnet: 172.20.0.0/16
|
|
10
|
+
|
|
11
|
+
volumes:
|
|
12
|
+
consul-data:
|
|
13
|
+
neo4j-data:
|
|
14
|
+
redis-data:
|
|
15
|
+
prometheus-data:
|
|
16
|
+
grafana-data:
|
|
17
|
+
nginx-logs:
|
|
18
|
+
|
|
19
|
+
services:
|
|
20
|
+
# ===========================================
|
|
21
|
+
# Infrastructure Services
|
|
22
|
+
# ===========================================
|
|
23
|
+
|
|
24
|
+
consul:
|
|
25
|
+
image: hashicorp/consul:1.16
|
|
26
|
+
hostname: consul
|
|
27
|
+
networks:
|
|
28
|
+
mcp-network:
|
|
29
|
+
ipv4_address: 172.20.0.10
|
|
30
|
+
ports:
|
|
31
|
+
- "8500:8500"
|
|
32
|
+
- "8600:8600/udp"
|
|
33
|
+
volumes:
|
|
34
|
+
- consul-data:/consul/data
|
|
35
|
+
- ./docker/consul:/consul/config
|
|
36
|
+
environment:
|
|
37
|
+
- CONSUL_BIND_INTERFACE=eth0
|
|
38
|
+
command: >
|
|
39
|
+
consul agent
|
|
40
|
+
-server
|
|
41
|
+
-bootstrap-expect=1
|
|
42
|
+
-data-dir=/consul/data
|
|
43
|
+
-config-dir=/consul/config
|
|
44
|
+
-ui-content-path=/ui
|
|
45
|
+
-bind=172.20.0.10
|
|
46
|
+
-client=0.0.0.0
|
|
47
|
+
healthcheck:
|
|
48
|
+
test: ["CMD", "curl", "-f", "http://localhost:8500/v1/status/leader"]
|
|
49
|
+
interval: 30s
|
|
50
|
+
timeout: 10s
|
|
51
|
+
retries: 5
|
|
52
|
+
start_period: 30s
|
|
53
|
+
restart: unless-stopped
|
|
54
|
+
|
|
55
|
+
redis:
|
|
56
|
+
image: redis:7-alpine
|
|
57
|
+
hostname: redis
|
|
58
|
+
networks:
|
|
59
|
+
mcp-network:
|
|
60
|
+
ipv4_address: 172.20.0.11
|
|
61
|
+
ports:
|
|
62
|
+
- "6379:6379"
|
|
63
|
+
volumes:
|
|
64
|
+
- redis-data:/data
|
|
65
|
+
command: redis-server --appendonly yes
|
|
66
|
+
healthcheck:
|
|
67
|
+
test: ["CMD", "redis-cli", "ping"]
|
|
68
|
+
interval: 30s
|
|
69
|
+
timeout: 10s
|
|
70
|
+
retries: 5
|
|
71
|
+
restart: unless-stopped
|
|
72
|
+
|
|
73
|
+
neo4j:
|
|
74
|
+
image: neo4j:5-community
|
|
75
|
+
hostname: neo4j
|
|
76
|
+
networks:
|
|
77
|
+
mcp-network:
|
|
78
|
+
ipv4_address: 172.20.0.12
|
|
79
|
+
ports:
|
|
80
|
+
- "7474:7474"
|
|
81
|
+
- "7687:7687"
|
|
82
|
+
volumes:
|
|
83
|
+
- neo4j-data:/data
|
|
84
|
+
- neo4j-data:/logs
|
|
85
|
+
environment:
|
|
86
|
+
- NEO4J_AUTH=neo4j/password
|
|
87
|
+
- NEO4J_PLUGINS=["apoc"]
|
|
88
|
+
- NEO4J_apoc_export_file_enabled=true
|
|
89
|
+
- NEO4J_apoc_import_file_enabled=true
|
|
90
|
+
- NEO4J_apoc_import_file_use__neo4j__config=true
|
|
91
|
+
healthcheck:
|
|
92
|
+
test: ["CMD", "cypher-shell", "-u", "neo4j", "-p", "password", "RETURN 1"]
|
|
93
|
+
interval: 30s
|
|
94
|
+
timeout: 10s
|
|
95
|
+
retries: 5
|
|
96
|
+
start_period: 60s
|
|
97
|
+
restart: unless-stopped
|
|
98
|
+
|
|
99
|
+
# ===========================================
|
|
100
|
+
# Load Balancer
|
|
101
|
+
# ===========================================
|
|
102
|
+
|
|
103
|
+
nginx-lb:
|
|
104
|
+
build:
|
|
105
|
+
context: ./docker/nginx
|
|
106
|
+
dockerfile: Dockerfile
|
|
107
|
+
hostname: nginx-lb
|
|
108
|
+
networks:
|
|
109
|
+
mcp-network:
|
|
110
|
+
ipv4_address: 172.20.0.20
|
|
111
|
+
ports:
|
|
112
|
+
- "80:80"
|
|
113
|
+
- "443:443"
|
|
114
|
+
- "8080:8080"
|
|
115
|
+
volumes:
|
|
116
|
+
- nginx-logs:/var/log/nginx
|
|
117
|
+
- ./docker/nginx/ssl:/etc/nginx/ssl:ro
|
|
118
|
+
environment:
|
|
119
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
120
|
+
- NGINX_LOG_LEVEL=info
|
|
121
|
+
- CONSUL_TEMPLATE_LOG_LEVEL=info
|
|
122
|
+
depends_on:
|
|
123
|
+
consul:
|
|
124
|
+
condition: service_healthy
|
|
125
|
+
healthcheck:
|
|
126
|
+
test: ["CMD", "/usr/local/bin/healthcheck.sh"]
|
|
127
|
+
interval: 30s
|
|
128
|
+
timeout: 15s
|
|
129
|
+
retries: 5
|
|
130
|
+
start_period: 45s
|
|
131
|
+
restart: unless-stopped
|
|
132
|
+
|
|
133
|
+
# ===========================================
|
|
134
|
+
# MCP Services (11 services)
|
|
135
|
+
# ===========================================
|
|
136
|
+
|
|
137
|
+
deployment-mcp:
|
|
138
|
+
build:
|
|
139
|
+
context: .
|
|
140
|
+
dockerfile: docker/services/deployment-mcp/Dockerfile
|
|
141
|
+
hostname: deployment-mcp
|
|
142
|
+
networks:
|
|
143
|
+
- mcp-network
|
|
144
|
+
environment:
|
|
145
|
+
- SERVICE_NAME=deployment-mcp
|
|
146
|
+
- SERVER_PORT=3001
|
|
147
|
+
- NODE_ENV=production
|
|
148
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
149
|
+
- SERVICE_IP=deployment-mcp
|
|
150
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
151
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
152
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
153
|
+
depends_on:
|
|
154
|
+
consul:
|
|
155
|
+
condition: service_healthy
|
|
156
|
+
healthcheck:
|
|
157
|
+
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
|
|
158
|
+
interval: 30s
|
|
159
|
+
timeout: 10s
|
|
160
|
+
retries: 3
|
|
161
|
+
start_period: 30s
|
|
162
|
+
restart: unless-stopped
|
|
163
|
+
deploy:
|
|
164
|
+
resources:
|
|
165
|
+
limits:
|
|
166
|
+
memory: 512M
|
|
167
|
+
cpus: '0.5'
|
|
168
|
+
reservations:
|
|
169
|
+
memory: 256M
|
|
170
|
+
cpus: '0.25'
|
|
171
|
+
|
|
172
|
+
flow-composer-mcp:
|
|
173
|
+
build:
|
|
174
|
+
context: .
|
|
175
|
+
dockerfile: docker/services/flow-composer-mcp/Dockerfile
|
|
176
|
+
hostname: flow-composer-mcp
|
|
177
|
+
networks:
|
|
178
|
+
- mcp-network
|
|
179
|
+
environment:
|
|
180
|
+
- SERVICE_NAME=flow-composer-mcp
|
|
181
|
+
- SERVER_PORT=3002
|
|
182
|
+
- NODE_ENV=production
|
|
183
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
184
|
+
- SERVICE_IP=flow-composer-mcp
|
|
185
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
186
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
187
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
188
|
+
depends_on:
|
|
189
|
+
consul:
|
|
190
|
+
condition: service_healthy
|
|
191
|
+
healthcheck:
|
|
192
|
+
test: ["CMD", "curl", "-f", "http://localhost:3002/health"]
|
|
193
|
+
interval: 30s
|
|
194
|
+
timeout: 10s
|
|
195
|
+
retries: 3
|
|
196
|
+
start_period: 30s
|
|
197
|
+
restart: unless-stopped
|
|
198
|
+
deploy:
|
|
199
|
+
resources:
|
|
200
|
+
limits:
|
|
201
|
+
memory: 512M
|
|
202
|
+
cpus: '0.5'
|
|
203
|
+
reservations:
|
|
204
|
+
memory: 256M
|
|
205
|
+
cpus: '0.25'
|
|
206
|
+
|
|
207
|
+
intelligent-mcp:
|
|
208
|
+
build:
|
|
209
|
+
context: .
|
|
210
|
+
dockerfile: docker/services/intelligent-mcp/Dockerfile
|
|
211
|
+
hostname: intelligent-mcp
|
|
212
|
+
networks:
|
|
213
|
+
- mcp-network
|
|
214
|
+
environment:
|
|
215
|
+
- SERVICE_NAME=intelligent-mcp
|
|
216
|
+
- SERVER_PORT=3003
|
|
217
|
+
- NODE_ENV=production
|
|
218
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
219
|
+
- SERVICE_IP=intelligent-mcp
|
|
220
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
221
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
222
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
223
|
+
depends_on:
|
|
224
|
+
consul:
|
|
225
|
+
condition: service_healthy
|
|
226
|
+
healthcheck:
|
|
227
|
+
test: ["CMD", "curl", "-f", "http://localhost:3003/health"]
|
|
228
|
+
interval: 30s
|
|
229
|
+
timeout: 10s
|
|
230
|
+
retries: 3
|
|
231
|
+
start_period: 30s
|
|
232
|
+
restart: unless-stopped
|
|
233
|
+
deploy:
|
|
234
|
+
resources:
|
|
235
|
+
limits:
|
|
236
|
+
memory: 512M
|
|
237
|
+
cpus: '0.5'
|
|
238
|
+
reservations:
|
|
239
|
+
memory: 256M
|
|
240
|
+
cpus: '0.25'
|
|
241
|
+
|
|
242
|
+
update-set-mcp:
|
|
243
|
+
build:
|
|
244
|
+
context: .
|
|
245
|
+
dockerfile: docker/services/update-set-mcp/Dockerfile
|
|
246
|
+
hostname: update-set-mcp
|
|
247
|
+
networks:
|
|
248
|
+
- mcp-network
|
|
249
|
+
environment:
|
|
250
|
+
- SERVICE_NAME=update-set-mcp
|
|
251
|
+
- SERVER_PORT=3004
|
|
252
|
+
- NODE_ENV=production
|
|
253
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
254
|
+
- SERVICE_IP=update-set-mcp
|
|
255
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
256
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
257
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
258
|
+
depends_on:
|
|
259
|
+
consul:
|
|
260
|
+
condition: service_healthy
|
|
261
|
+
healthcheck:
|
|
262
|
+
test: ["CMD", "curl", "-f", "http://localhost:3004/health"]
|
|
263
|
+
interval: 30s
|
|
264
|
+
timeout: 10s
|
|
265
|
+
retries: 3
|
|
266
|
+
start_period: 30s
|
|
267
|
+
restart: unless-stopped
|
|
268
|
+
deploy:
|
|
269
|
+
resources:
|
|
270
|
+
limits:
|
|
271
|
+
memory: 512M
|
|
272
|
+
cpus: '0.5'
|
|
273
|
+
reservations:
|
|
274
|
+
memory: 256M
|
|
275
|
+
cpus: '0.25'
|
|
276
|
+
|
|
277
|
+
graph-memory-mcp:
|
|
278
|
+
build:
|
|
279
|
+
context: .
|
|
280
|
+
dockerfile: docker/services/graph-memory-mcp/Dockerfile
|
|
281
|
+
hostname: graph-memory-mcp
|
|
282
|
+
networks:
|
|
283
|
+
- mcp-network
|
|
284
|
+
environment:
|
|
285
|
+
- SERVICE_NAME=graph-memory-mcp
|
|
286
|
+
- SERVER_PORT=3005
|
|
287
|
+
- NODE_ENV=production
|
|
288
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
289
|
+
- SERVICE_IP=graph-memory-mcp
|
|
290
|
+
- NEO4J_URI=bolt://172.20.0.12:7687
|
|
291
|
+
- NEO4J_USERNAME=neo4j
|
|
292
|
+
- NEO4J_PASSWORD=password
|
|
293
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
294
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
295
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
296
|
+
depends_on:
|
|
297
|
+
consul:
|
|
298
|
+
condition: service_healthy
|
|
299
|
+
neo4j:
|
|
300
|
+
condition: service_healthy
|
|
301
|
+
healthcheck:
|
|
302
|
+
test: ["CMD", "curl", "-f", "http://localhost:3005/health"]
|
|
303
|
+
interval: 30s
|
|
304
|
+
timeout: 10s
|
|
305
|
+
retries: 3
|
|
306
|
+
start_period: 30s
|
|
307
|
+
restart: unless-stopped
|
|
308
|
+
deploy:
|
|
309
|
+
resources:
|
|
310
|
+
limits:
|
|
311
|
+
memory: 768M
|
|
312
|
+
cpus: '0.75'
|
|
313
|
+
reservations:
|
|
314
|
+
memory: 384M
|
|
315
|
+
cpus: '0.5'
|
|
316
|
+
|
|
317
|
+
operations-mcp:
|
|
318
|
+
build:
|
|
319
|
+
context: .
|
|
320
|
+
dockerfile: docker/services/operations-mcp/Dockerfile
|
|
321
|
+
hostname: operations-mcp
|
|
322
|
+
networks:
|
|
323
|
+
- mcp-network
|
|
324
|
+
environment:
|
|
325
|
+
- SERVICE_NAME=operations-mcp
|
|
326
|
+
- SERVER_PORT=3006
|
|
327
|
+
- NODE_ENV=production
|
|
328
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
329
|
+
- SERVICE_IP=operations-mcp
|
|
330
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
331
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
332
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
333
|
+
depends_on:
|
|
334
|
+
consul:
|
|
335
|
+
condition: service_healthy
|
|
336
|
+
healthcheck:
|
|
337
|
+
test: ["CMD", "curl", "-f", "http://localhost:3006/health"]
|
|
338
|
+
interval: 30s
|
|
339
|
+
timeout: 10s
|
|
340
|
+
retries: 3
|
|
341
|
+
start_period: 30s
|
|
342
|
+
restart: unless-stopped
|
|
343
|
+
deploy:
|
|
344
|
+
resources:
|
|
345
|
+
limits:
|
|
346
|
+
memory: 512M
|
|
347
|
+
cpus: '0.5'
|
|
348
|
+
reservations:
|
|
349
|
+
memory: 256M
|
|
350
|
+
cpus: '0.25'
|
|
351
|
+
|
|
352
|
+
platform-development-mcp:
|
|
353
|
+
build:
|
|
354
|
+
context: .
|
|
355
|
+
dockerfile: docker/services/platform-development-mcp/Dockerfile
|
|
356
|
+
hostname: platform-development-mcp
|
|
357
|
+
networks:
|
|
358
|
+
- mcp-network
|
|
359
|
+
environment:
|
|
360
|
+
- SERVICE_NAME=platform-development-mcp
|
|
361
|
+
- SERVER_PORT=3007
|
|
362
|
+
- NODE_ENV=production
|
|
363
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
364
|
+
- SERVICE_IP=platform-development-mcp
|
|
365
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
366
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
367
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
368
|
+
depends_on:
|
|
369
|
+
consul:
|
|
370
|
+
condition: service_healthy
|
|
371
|
+
healthcheck:
|
|
372
|
+
test: ["CMD", "curl", "-f", "http://localhost:3007/health"]
|
|
373
|
+
interval: 30s
|
|
374
|
+
timeout: 10s
|
|
375
|
+
retries: 3
|
|
376
|
+
start_period: 30s
|
|
377
|
+
restart: unless-stopped
|
|
378
|
+
deploy:
|
|
379
|
+
resources:
|
|
380
|
+
limits:
|
|
381
|
+
memory: 512M
|
|
382
|
+
cpus: '0.5'
|
|
383
|
+
reservations:
|
|
384
|
+
memory: 256M
|
|
385
|
+
cpus: '0.25'
|
|
386
|
+
|
|
387
|
+
integration-mcp:
|
|
388
|
+
build:
|
|
389
|
+
context: .
|
|
390
|
+
dockerfile: docker/services/integration-mcp/Dockerfile
|
|
391
|
+
hostname: integration-mcp
|
|
392
|
+
networks:
|
|
393
|
+
- mcp-network
|
|
394
|
+
environment:
|
|
395
|
+
- SERVICE_NAME=integration-mcp
|
|
396
|
+
- SERVER_PORT=3008
|
|
397
|
+
- NODE_ENV=production
|
|
398
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
399
|
+
- SERVICE_IP=integration-mcp
|
|
400
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
401
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
402
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
403
|
+
depends_on:
|
|
404
|
+
consul:
|
|
405
|
+
condition: service_healthy
|
|
406
|
+
healthcheck:
|
|
407
|
+
test: ["CMD", "curl", "-f", "http://localhost:3008/health"]
|
|
408
|
+
interval: 30s
|
|
409
|
+
timeout: 10s
|
|
410
|
+
retries: 3
|
|
411
|
+
start_period: 30s
|
|
412
|
+
restart: unless-stopped
|
|
413
|
+
deploy:
|
|
414
|
+
resources:
|
|
415
|
+
limits:
|
|
416
|
+
memory: 512M
|
|
417
|
+
cpus: '0.5'
|
|
418
|
+
reservations:
|
|
419
|
+
memory: 256M
|
|
420
|
+
cpus: '0.25'
|
|
421
|
+
|
|
422
|
+
automation-mcp:
|
|
423
|
+
build:
|
|
424
|
+
context: .
|
|
425
|
+
dockerfile: docker/services/automation-mcp/Dockerfile
|
|
426
|
+
hostname: automation-mcp
|
|
427
|
+
networks:
|
|
428
|
+
- mcp-network
|
|
429
|
+
environment:
|
|
430
|
+
- SERVICE_NAME=automation-mcp
|
|
431
|
+
- SERVER_PORT=3009
|
|
432
|
+
- NODE_ENV=production
|
|
433
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
434
|
+
- SERVICE_IP=automation-mcp
|
|
435
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
436
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
437
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
438
|
+
depends_on:
|
|
439
|
+
consul:
|
|
440
|
+
condition: service_healthy
|
|
441
|
+
healthcheck:
|
|
442
|
+
test: ["CMD", "curl", "-f", "http://localhost:3009/health"]
|
|
443
|
+
interval: 30s
|
|
444
|
+
timeout: 10s
|
|
445
|
+
retries: 3
|
|
446
|
+
start_period: 30s
|
|
447
|
+
restart: unless-stopped
|
|
448
|
+
deploy:
|
|
449
|
+
resources:
|
|
450
|
+
limits:
|
|
451
|
+
memory: 512M
|
|
452
|
+
cpus: '0.5'
|
|
453
|
+
reservations:
|
|
454
|
+
memory: 256M
|
|
455
|
+
cpus: '0.25'
|
|
456
|
+
|
|
457
|
+
security-compliance-mcp:
|
|
458
|
+
build:
|
|
459
|
+
context: .
|
|
460
|
+
dockerfile: docker/services/security-compliance-mcp/Dockerfile
|
|
461
|
+
hostname: security-compliance-mcp
|
|
462
|
+
networks:
|
|
463
|
+
- mcp-network
|
|
464
|
+
environment:
|
|
465
|
+
- SERVICE_NAME=security-compliance-mcp
|
|
466
|
+
- SERVER_PORT=3010
|
|
467
|
+
- NODE_ENV=production
|
|
468
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
469
|
+
- SERVICE_IP=security-compliance-mcp
|
|
470
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
471
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
472
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
473
|
+
depends_on:
|
|
474
|
+
consul:
|
|
475
|
+
condition: service_healthy
|
|
476
|
+
healthcheck:
|
|
477
|
+
test: ["CMD", "curl", "-f", "http://localhost:3010/health"]
|
|
478
|
+
interval: 30s
|
|
479
|
+
timeout: 10s
|
|
480
|
+
retries: 3
|
|
481
|
+
start_period: 30s
|
|
482
|
+
restart: unless-stopped
|
|
483
|
+
deploy:
|
|
484
|
+
resources:
|
|
485
|
+
limits:
|
|
486
|
+
memory: 512M
|
|
487
|
+
cpus: '0.5'
|
|
488
|
+
reservations:
|
|
489
|
+
memory: 256M
|
|
490
|
+
cpus: '0.25'
|
|
491
|
+
|
|
492
|
+
reporting-analytics-mcp:
|
|
493
|
+
build:
|
|
494
|
+
context: .
|
|
495
|
+
dockerfile: docker/services/reporting-analytics-mcp/Dockerfile
|
|
496
|
+
hostname: reporting-analytics-mcp
|
|
497
|
+
networks:
|
|
498
|
+
- mcp-network
|
|
499
|
+
environment:
|
|
500
|
+
- SERVICE_NAME=reporting-analytics-mcp
|
|
501
|
+
- SERVER_PORT=3011
|
|
502
|
+
- NODE_ENV=production
|
|
503
|
+
- CONSUL_URL=http://172.20.0.10:8500
|
|
504
|
+
- SERVICE_IP=reporting-analytics-mcp
|
|
505
|
+
- SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
|
|
506
|
+
- SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
|
|
507
|
+
- SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
|
|
508
|
+
depends_on:
|
|
509
|
+
consul:
|
|
510
|
+
condition: service_healthy
|
|
511
|
+
healthcheck:
|
|
512
|
+
test: ["CMD", "curl", "-f", "http://localhost:3011/health"]
|
|
513
|
+
interval: 30s
|
|
514
|
+
timeout: 10s
|
|
515
|
+
retries: 3
|
|
516
|
+
start_period: 30s
|
|
517
|
+
restart: unless-stopped
|
|
518
|
+
deploy:
|
|
519
|
+
resources:
|
|
520
|
+
limits:
|
|
521
|
+
memory: 512M
|
|
522
|
+
cpus: '0.5'
|
|
523
|
+
reservations:
|
|
524
|
+
memory: 256M
|
|
525
|
+
cpus: '0.25'
|
|
526
|
+
|
|
527
|
+
# ===========================================
|
|
528
|
+
# Monitoring Stack
|
|
529
|
+
# ===========================================
|
|
530
|
+
|
|
531
|
+
prometheus:
|
|
532
|
+
image: prom/prometheus:v2.45.0
|
|
533
|
+
hostname: prometheus
|
|
534
|
+
networks:
|
|
535
|
+
mcp-network:
|
|
536
|
+
ipv4_address: 172.20.0.30
|
|
537
|
+
ports:
|
|
538
|
+
- "9090:9090"
|
|
539
|
+
volumes:
|
|
540
|
+
- prometheus-data:/prometheus
|
|
541
|
+
- ./docker/prometheus:/etc/prometheus
|
|
542
|
+
command:
|
|
543
|
+
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
544
|
+
- '--storage.tsdb.path=/prometheus'
|
|
545
|
+
- '--web.console.libraries=/etc/prometheus/console_libraries'
|
|
546
|
+
- '--web.console.templates=/etc/prometheus/consoles'
|
|
547
|
+
- '--storage.tsdb.retention.time=15d'
|
|
548
|
+
- '--web.enable-lifecycle'
|
|
549
|
+
healthcheck:
|
|
550
|
+
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9090/-/healthy"]
|
|
551
|
+
interval: 30s
|
|
552
|
+
timeout: 10s
|
|
553
|
+
retries: 5
|
|
554
|
+
restart: unless-stopped
|
|
555
|
+
|
|
556
|
+
grafana:
|
|
557
|
+
image: grafana/grafana:10.0.0
|
|
558
|
+
hostname: grafana
|
|
559
|
+
networks:
|
|
560
|
+
mcp-network:
|
|
561
|
+
ipv4_address: 172.20.0.31
|
|
562
|
+
ports:
|
|
563
|
+
- "3000:3000"
|
|
564
|
+
volumes:
|
|
565
|
+
- grafana-data:/var/lib/grafana
|
|
566
|
+
- ./docker/grafana/provisioning:/etc/grafana/provisioning
|
|
567
|
+
- ./docker/grafana/dashboards:/var/lib/grafana/dashboards
|
|
568
|
+
environment:
|
|
569
|
+
- GF_SECURITY_ADMIN_USER=admin
|
|
570
|
+
- GF_SECURITY_ADMIN_PASSWORD=admin
|
|
571
|
+
- GF_USERS_ALLOW_SIGN_UP=false
|
|
572
|
+
- GF_SERVER_DOMAIN=localhost
|
|
573
|
+
- GF_SMTP_ENABLED=false
|
|
574
|
+
healthcheck:
|
|
575
|
+
test: ["CMD-SHELL", "curl -f http://localhost:3000/api/health || exit 1"]
|
|
576
|
+
interval: 30s
|
|
577
|
+
timeout: 10s
|
|
578
|
+
retries: 5
|
|
579
|
+
restart: unless-stopped
|