ruvector/examples/edge-net/dashboard/docker-compose.yml
rUv e612b94b54 feat(dashboard): add Edge-Net Time Crystal Dashboard
Complete ViteJS dashboard implementation with:
- HeroUI components for responsive mobile/desktop layout
- Time Crystal dark theme with crystal, temporal, quantum colors
- Network stats visualization with real-time canvas animation
- CDN integration panel for WASM/AI/crypto script management
- WASM modules panel with status and benchmark tracking
- MCP tools panel with 15 default swarm/neural/performance tools
- Credits economy panel with time crystal staking
- Browser console debug panel with log capture
- Zustand stores for state management
- React Query for async data
- Docker configuration (multi-stage nginx build)
- Comprehensive test suite (39 tests passing)

Dashboard features:
- Responsive sidebar (desktop) and drawer (mobile) navigation
- Tab-based content switching with framer-motion animations
- Real-time network activity simulation
- Debug console with timing utilities and window.edgeNet API
- Glow effects and crystal-themed visual styling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 07:47:14 +00:00

33 lines
690 B
YAML

version: '3.8'
services:
dashboard:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:80"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:80/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 10s
environment:
- NODE_ENV=production
# Development mode
dashboard-dev:
image: node:20-alpine
working_dir: /app
volumes:
- .:/app
- /app/node_modules
ports:
- "3000:3000"
command: sh -c "npm install && npm run dev -- --host"
environment:
- NODE_ENV=development
profiles:
- dev