Files
crm_mobile/qdrant/docker-compose.yml

33 lines
1.0 KiB
YAML

version: '3.8'
services:
qdrant:
image: qdrant/qdrant:latest
container_name: qdrant_production
restart: unless-stopped
ports:
# REST API & Web Dashboard (Accessible at http://<VPS_IP>:6333/dashboard)
- "6333:6333"
# gRPC API (For faster, low-latency communication with backends)
- "6334:6334"
volumes:
# Persistent Volume: Ensures data is never lost on restarts
- ./storage:/qdrant/storage
# Snapshots Volume: Dedicated folder for backups
- ./snapshots:/qdrant/snapshots
environment:
# Disable telemetry for privacy
- QDRANT__TELEMETRY_DISABLED=true
- QDRANT__SERVICE__API_KEY=Package@321#
ulimits:
# Professional tuning: Vector DBs need high open file limits for disk I/O
nofile:
soft: 65535
hard: 65535
deploy:
resources:
limits:
# Memory Limit: Prevents Qdrant from taking 100% of your VPS RAM.
# Adjust '4G' based on your actual VPS specs.
memory: 4G