version: '3.8' services: # Your Python Application Service app: build: context: . dockerfile: Dockerfile # Assuming your Dockerfile is named Dockerfile container_name: app user: "user" # Matching the user created in your Dockerfile ports: - "7860:7860" # Expose your application's port environment: - HOME=/home/user - PATH=/home/user/.local/bin:$PATH - AZURE_DEPLOYMENT=true - AZURE_QDRANT_INMEM=true # False means use Qdrant service from the network depends_on: - qdrant # Ensure Qdrant starts before this service volumes: - .:/home/user/app # Mount current directory to container # Qdrant Service qdrant: image: qdrant/qdrant:latest restart: always container_name: qdrant ports: - "6333:6333" - "6334:6334" expose: - "6333" - "6334" - "6335" # volumes: # - ./qdrant_data:/qdrant/storage # Persist Qdrant data # - ./qdrant_config/production.yaml:/qdrant/config/production.yaml # Mount configuration file