version: '3.8' services: qdrant-local: image: qdrant/qdrant:latest ports: - "6333:6333" - "6334:6334" volumes: - qdrant_storage:/qdrant/storage environment: - QDRANT__SERVICE__HTTP_PORT=6333 - QDRANT__SERVICE__GRPC_PORT=6334 command: ./qdrant --config-path /qdrant/config/production.yaml backend: build: ./backend ports: - "8000:8000" environment: - QDRANT_URL=http://qdrant-local:6333 - QDRANT_API_KEY=${QDRANT_API_KEY} depends_on: - qdrant-local volumes: - ./backend:/app command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload frontend: build: ./frontend ports: - "3000:3000" environment: - NEXT_PUBLIC_API_URL=http://localhost:8000 depends_on: - backend volumes: - ./frontend:/app - /app/node_modules command: npm run dev volumes: qdrant_storage: