/dragonflydb-proxmox

dragonflydb container for proxmox

Primary LanguageShellMIT LicenseMIT

DragonflyDB for Proxmox VE

A modern in-memory datastore LXC container script for Proxmox VE, fully compatible with Redis and Memcached APIs.

Features

  • High Performance: DragonflyDB offers better performance and lower memory consumption than Redis
  • Redis Compatible: Drop-in replacement for Redis with full API compatibility
  • Easy Installation: One-click LXC container creation
  • Auto-Update: Built-in update mechanism for existing containers
  • Smart Detection: Automatically detects existing DragonflyDB installations
  • No Password Required: Configured for local access without authentication

Quick Start

bash <(curl -fsSL https://raw.githubusercontent.com/rafalohaki/dragonflydb-proxmox/main/ct/dragonflydb.sh)

What it creates

  • Container: Debian-based LXC container (2 CPU, 2GB RAM, 4GB disk)
  • Service: DragonflyDB running on port 6379
  • Configuration: Optimized settings in /etc/dragonflydb.conf
  • Credentials: Connection details in ~/dragonflydb.creds

Usage

After installation, connect using any Redis client:

redis-cli -h <CONTAINER_IP> ping

File Structure

dragonflydb-proxmox/
├── ct/
│   ├── dragonflydb.conf    # Container configuration
│   └── dragonflydb.sh      # Main installation script
├── install/
│   └── dragonflydb-install.sh  # DragonflyDB installation script
└── misc/
    └── build.func          # Helper functions

Requirements

  • Proxmox VE 9.0+
  • Internet connection for downloading templates and packages
  • Available container ID and storage space

License

MIT License - see LICENSE file for details.

Author

Acknowledgments