version: '3.8' services: app: build: . ports: - "7860:7860" environment: - QDRANT_URL=http://qdrant:6333 - WORKERS=4 # Set number of workers # - QDRANT_API_KEY=your_api_key_here (uncomment and set if needed) depends_on: - qdrant restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:7860/"] interval: 30s timeout: 10s retries: 3 start_period: 40s qdrant: image: qdrant/qdrant:v1.13.5 volumes: - qdrant_data:/qdrant/storage volumes: qdrant_data: