- admin.html: removed conflicting inline script, added api.js + admin.js - admin.js: dynamic section loader with fetch, init navigates to hash - api.js: credentials: 'include' for all admin requests - propertyModal: added name attributes to all form fields, saveProperty onclick handler - server/index.ts: added POST /api/analytics/event with daily aggregation - server/validation.ts: removed min(6) from password for 401 on invalid credentials - capability-index.yaml: added 11 MCP capability routes - docker-compose-mcp.yml: created for MCP servers
73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
services:
|
|
playwright-mcp:
|
|
image: mcr.microsoft.com/playwright/mcp:latest
|
|
container_name: mcp-playwright
|
|
ports:
|
|
- "8931:8931"
|
|
environment:
|
|
- MCP_PORT=8931
|
|
volumes:
|
|
- playwright-data:/tmp/playwright
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:8931/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 20s
|
|
networks:
|
|
- mcp-network
|
|
restart: unless-stopped
|
|
|
|
antv-chart-mcp:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.antv
|
|
container_name: mcp-antv-chart
|
|
ports:
|
|
- "1122:3000"
|
|
environment:
|
|
- MCP_PORT=3000
|
|
volumes:
|
|
- antv-chart-data:/app/data
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:3000/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 20s
|
|
networks:
|
|
- mcp-network
|
|
restart: unless-stopped
|
|
|
|
cve-search-mcp:
|
|
image: cve_search/cve-search:latest
|
|
container_name: mcp-cve-search
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
- FLASK_PORT=5000
|
|
volumes:
|
|
- cve-db:/data
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:5000/api/cve-search"]
|
|
interval: 60s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 60s
|
|
networks:
|
|
- mcp-network
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
playwright-data:
|
|
driver: local
|
|
antv-chart-data:
|
|
driver: local
|
|
cve-db:
|
|
driver: local
|
|
|
|
networks:
|
|
mcp-network:
|
|
name: mcp-network
|
|
driver: bridge
|