services: pulse-app: build: context: . dockerfile: Dockerfile.dev container_name: pulse-app ports: - "7654:7654" # Backend API - "3000:3000" # Frontend dev server - "7655:7655" # Mock data server volumes: - ./src:/app/src - ./frontend/src:/app/frontend/src - ./frontend/public:/app/frontend/public - ./frontend/index.html:/app/frontend/index.html - ./frontend/vite.config.js:/app/frontend/vite.config.js - ./logs:/app/logs env_file: - .env.development environment: - LOG_LEVEL=debug - NODE_OPTIONS=--no-warnings - SUPPRESS_NO_CONFIG_WARNING=true - VITE_API_URL=http://localhost:7654 - USE_MOCK_DATA=true - MOCK_DATA_ENABLED=true - DOCKER_CONTAINER=true command: > bash -c "ts-node src/mock/run-server.ts > /tmp/pulse-mock-server.log 2>&1 & sleep 2 && npm run dev:server & cd frontend && npm run dev -- --host 0.0.0.0 --port 3000" logging: driver: "json-file" options: max-size: "1m" max-file: "1" restart: unless-stopped