Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm
Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)
Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability
Migration completed: $(date)
🤖 Clean migration with full functionality preserved
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
# Backend API Server
|
|
api:
|
|
build:
|
|
context: ./server
|
|
dockerfile: Dockerfile
|
|
container_name: dss-api
|
|
ports:
|
|
- "3001:3001"
|
|
environment:
|
|
NODE_ENV: development
|
|
PORT: 3001
|
|
DATABASE_URL: sqlite:./data/design-system.db
|
|
JWT_SECRET: dev-secret-key-change-in-production
|
|
JWT_EXPIRE: 7d
|
|
JWT_REFRESH_SECRET: dev-refresh-secret-key
|
|
JWT_REFRESH_EXPIRE: 30d
|
|
CORS_ORIGIN: http://localhost:5173,http://localhost:3000
|
|
LOG_LEVEL: debug
|
|
volumes:
|
|
- ./server/src:/app/src
|
|
- ./server/data:/app/data
|
|
networks:
|
|
- dss-network
|
|
restart: unless-stopped
|
|
|
|
# Frontend Development Server (using existing Vite config)
|
|
frontend:
|
|
image: node:18-alpine
|
|
container_name: dss-frontend
|
|
working_dir: /app/admin-ui
|
|
ports:
|
|
- "5173:5173"
|
|
environment:
|
|
VITE_API_URL: http://localhost:3001/api
|
|
volumes:
|
|
- ./admin-ui:/app/admin-ui
|
|
command: sh -c "npm install && npm run dev"
|
|
networks:
|
|
- dss-network
|
|
depends_on:
|
|
- api
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
dss-network:
|
|
driver: bridge
|