# Qdrant Production Setup Guide

## 1. How to run this on your Ubuntu VPS
1. Copy this entire `qdrant` folder to your Ubuntu server.
2. SSH into your server and navigate to this folder.
3. Run the following command to start the database in the background:
   ```bash
   docker compose up -d
   ```

## 2. Accessing the UI Dashboard
Qdrant comes with a built-in, beautiful dashboard. 
Once the container is running, open your web browser and go to:
`http://<YOUR_VPS_IP_ADDRESS>:6333/dashboard`

Here you can:
- See all your Collections.
- View clusters and nodes.
- Visually inspect your vector payloads and data.

## 3. Data Persistence
We have configured two persistent volumes:
- `./storage`: This is where the live database lives. Even if the server restarts, data is safe here.
- `./snapshots`: Use this folder to store manual database backups.

## 4. Security Warning (Crucial)
By default, port `6333` is open. You **must** configure your Ubuntu UFW firewall so that only your backend server (e.g., your Node.js or Python API server) can access this port. 
Do NOT leave it fully open to the public internet, or anyone can access your vectors.
