Files
hive/docker-compose.dev.yml
anthonyrawlins 268214d971 Major WHOOSH system refactoring and feature enhancements
- Migrated from HIVE branding to WHOOSH across all components
- Enhanced backend API with new services: AI models, BZZZ integration, templates, members
- Added comprehensive testing suite with security, performance, and integration tests
- Improved frontend with new components for project setup, AI models, and team management
- Updated MCP server implementation with WHOOSH-specific tools and resources
- Enhanced deployment configurations with production-ready Docker setups
- Added comprehensive documentation and setup guides
- Implemented age encryption service and UCXL integration

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 08:34:48 +10:00

61 lines
2.0 KiB
YAML

version: '3.8'
services:
# Development Frontend with Hot Reload
whoosh-frontend-dev:
build:
context: ./frontend
dockerfile: Dockerfile.dev
ports:
- "3000:3000" # Direct access for development
volumes:
# Mount source code for hot reload
- ./frontend/src:/app/src:ro
- ./frontend/public:/app/public:ro
- ./frontend/package.json:/app/package.json:ro
- ./frontend/package-lock.json:/app/package-lock.json:ro
- ./frontend/vite.config.ts:/app/vite.config.ts:ro
- ./frontend/tsconfig.json:/app/tsconfig.json:ro
- ./frontend/tailwind.config.js:/app/tailwind.config.js:ro
- ./frontend/postcss.config.js:/app/postcss.config.js:ro
- ./frontend/.env.development:/app/.env:ro
environment:
- NODE_ENV=development
- VITE_API_BASE_URL=https://whoosh.home.deepblack.cloud
- VITE_WS_BASE_URL=https://whoosh.home.deepblack.cloud
- VITE_ENABLE_DEBUG_MODE=true
- VITE_LOG_LEVEL=debug
- VITE_DEV_MODE=true
networks:
- whoosh-dev-network
depends_on:
- whoosh-backend-dev
command: npm run dev
# Development Backend (optional - can use production backend)
whoosh-backend-dev:
build:
context: ./backend
dockerfile: Dockerfile.dev
ports:
- "8089:8000" # Different port to avoid conflicts with filebrowser
volumes:
- ./backend:/app:ro
environment:
- DATABASE_URL=postgresql://whoosh:whooshpass@host.docker.internal:5433/whoosh # Connect to production DB
- REDIS_URL=redis://:whooshpass@host.docker.internal:6380
- ENVIRONMENT=development
- LOG_LEVEL=debug
- CORS_ORIGINS=http://localhost:3000,https://whoosh.home.deepblack.cloud
- HOT_RELOAD=true
networks:
- whoosh-dev-network
extra_hosts:
- "host.docker.internal:host-gateway" # Access host services
networks:
whoosh-dev-network:
driver: bridge
# Note: This setup uses production database/redis but with dev frontend/backend
# This gives us live data while maintaining fast development cycle