services: backend: build: context: ./backend dockerfile: Dockerfile ports: - "8000:8000" environment: - DATABASE_URL=sqlite+aiosqlite:///./data/workbench.db - WORKBENCH_DATA_DIR=/app/data - CORS_ORIGINS=["http://localhost:5173","http://127.0.0.1:5173"] volumes: - ./data:/app/data - ./backend/architectures:/app/architectures healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health')"] interval: 15s timeout: 5s retries: 5 frontend: build: context: ./frontend dockerfile: Dockerfile.dev ports: - "5173:5173" environment: - VITE_API_BASE=/api - VITE_PROXY_TARGET=http://backend:8000 volumes: - ./frontend/src:/app/src depends_on: backend: condition: service_healthy