Installation and Usage

This guide covers all the essential commands and operations for setting up and using Dockabase with Qdrant.

Setup

To get started with Dockabase, follow these steps:

    
# Clone repository
git clone https://github.com/bartek-filipiuk/qdrant_caddy.git
cd qdrant_caddy

# Configure environment
cp .env.example .env
# Edit .env file with your settings
    
  

Basic Operations

Manage your Qdrant instance with these commands:

    
# Start Qdrant
./start.sh                # Starts containers based on ENV setting in .env

# Stop Qdrant
./stop.sh                 # Stops all containers

# Restart Qdrant
./restart.sh              # Restarts containers and applies config changes
    
  

Domain Setup (Production Only)

When deploying to production, configure your domain with HTTPS:

    
# Configure domain for production
./scripts/setup-domain.sh # Sets up domain with HTTPS using Let's Encrypt
    
  

Backup & Restore

Protect your data with these backup and restore commands:

    
# Backup a specific collection
python scripts/backup_snapshots.py --collection my_collection

# Backup all collections
python scripts/backup_snapshots.py --all

# Restore a collection
python scripts/restore_snapshots.py --snapshot ./snapshots/my_collection.snapshot --collection my_collection

# Create new collection from backup
python scripts/restore_snapshots.py --snapshot ./snapshots/my_collection.snapshot --new-collection new_collection
    
  

Access Information

Troubleshooting

If you encounter any issues:

  1. Check container logs with docker-compose logs
  2. Verify your .env configuration
  3. Ensure all required ports are available
  4. Check the FAQ or Troubleshooting pages for common issues