services: backend: build: ./backend ports: - "8000:8000" volumes: - ./backend/data:/app/data - ./backend:/app environment: - DATA_DIR=/app/data - PYTHONDONTWRITEBYTECODE=1 extra_hosts: - "host.docker.internal:host-gateway" command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload frontend: build: ./frontend ports: - "5173:5173" volumes: - ./frontend/src:/app/src - ./frontend/index.html:/app/index.html depends_on: - backend command: npm run dev -- --host 0.0.0.0