Aller au contenu
Se connecter

Dragonfly

Conteneur LXC DevScripts v2.0.2

Script en développement. À essayer sur une machine de test seulement.
Script en développement : le projet demande de ne pas l'utiliser en production.

Accès par défaut

Adresse
http://ADRESSE-IP:6379Remplacez ADRESSE-IP par l'adresse donnée à la fin de l'installation.
Compte et mot de passe
Aucun identifiant fixe publié par la source : voir ci-dessous.
Console et SSH
Console du conteneur dans l'interface Proxmox : compte root, connexion automatique sans mot de passe. Le SSH de root n'est ouvert que si vous l'avez demandé à l'installation.
Configuration
/etc/dragonfly/dragonfly.conf
  • Dragonfly listens on port 6379 on all interfaces and requires a password. It is generated at install and stored as --requirepass in /etc/dragonfly/dragonfly.conf. Connect with redis-cli -h <IP> -a <password>; redis-cli is also installed inside the container.

Dragonfly is an in-memory data store compatible with the Redis and Memcached APIs, so existing Redis clients, libraries and tools work against it unchanged. It is multi-threaded with a shared-nothing design that uses every core it is given, and it takes snapshots without forking, which keeps the memory overhead of a save low. This script installs the official package with a generated password and periodic snapshots.

Site ↗ Documentation ↗ Dépôt de l'application ↗ Voir le code du script ↗

Installer

Cœurs
2
Mémoire
1 Go
Disque
4 Go
Système
Debian 13
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/dragonfly.sh)"

Configuration : /etc/dragonfly/dragonfly.conf

Dans le shell du nœud Proxmox. Exécutez cette commande dans le shell du nœud Proxmox, pas dans une VM. Lisez le script d'abord.

Générateur : préparer la commande avec vos réglages

Remplissez seulement ce que vous voulez changer. Les valeurs vides gardent le réglage par défaut du script.

Tutoriel pas à pas

De l'interface de Proxmox jusqu'à la première connexion, pour Dragonfly.

  1. Ouvrez l'interface de Proxmox dans votre navigateur et connectez-vous.

  2. Dans l'arbre de gauche, cliquez sur votre nœud, puis sur « Shell ».

  3. Vérifiez que le nœud a la place pour ce conteneur : 2 cœurs, 1 Go de mémoire, 4 Go de disque.

  4. Copiez cette commande, collez-la dans le shell et appuyez sur Entrée.

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/dragonfly.sh)"
  5. À la question « Use Default Settings? », répondez oui pour garder les réglages par défaut. Répondez non pour choisir vous-même l'identifiant, l'adresse, le disque ou le réseau.

  6. Attendez la fin de l'installation : le script affiche l'adresse du conteneur.

  7. Ouvrez http://ADRESSE-IP:6379 dans votre navigateur, en remplaçant ADRESSE-IP par l'adresse affichée.

  8. Pour entrer dans le conteneur : sélectionnez-le dans Proxmox, puis « Console ». La session root s'ouvre sans mot de passe.

  9. Pour mettre à jour plus tard : tapez update dans la console du conteneur.

  10. Le fichier de configuration se trouve ici : /etc/dragonfly/dragonfly.conf

À savoir

  • Dragonfly sets its memory limit at every start to 80% of the RAM free in the container and needs at least 256 MiB of that per CPU core, otherwise it refuses to start. Add RAM when you add cores (4 cores need more than 1.25 GB), or pin a limit with --maxmemory=<size> in the config.
  • Once the memory limit is reached, writes fail with 'Out of memory' and nothing is evicted. To use Dragonfly as a cache that drops old keys instead, add --cache_mode=true to /etc/dragonfly/dragonfly.conf and run systemctl restart dragonfly.
  • Data is snapshotted to /var/lib/dragonfly every 30 minutes (--snapshot_cron) and on every clean stop, and loaded again at start. Back up that directory; updates leave it and the config in place.
  • Dragonfly is source-available under the Business Source License 1.1: free to self-host and to use in your own products, but not to offer as a hosted or managed in-memory data store service.

Notes de la version v2.0.2

This is a patch release.

What's Changed

  • Fixed a crash when DFLYMIGRATE was sent to a server that is not in cluster mode. It now returns the standard "Cluster is disabled" error (#8290).
  • Fixed a crash on glob patterns with many * wildcards in KEYS, SCAN/HSCAN/SSCAN/ZSCAN MATCH, ACL key patterns, PSUBSCRIBE and CONFIG GET. Matching is now iterative, so it no longer overflows the fiber stack, and it is also f…
Dans la même catégorie

Apache CouchDB

Conteneur LXC

Apache CouchDB Seamless multi-master sync, that scales from Big Data to Mobile, with an Intuitive HTTP/JSON API and designed for Reliability.

Mise à jour Port 5984

Apache-Cassandra

Conteneur LXC

Apache-Cassandra is an open source NoSQL distributed database trusted by thousands of companies for scalability and high availability without compromising performance.

Mise à jour

Baserow

Conteneur LXC

Baserow is an open-source no-code database platform for building databases, applications, automations, and AI agents without code.

Mise à jour Port 3000

ClickHouse

Conteneur LXC

ClickHouse is an open-source, high-performance columnar database management system designed for real-time analytics and data processing using SQL queries.

Mise à jour Port 8123 Accès par défaut

DrawDB

Conteneur LXC

DrawDB is a free, simple, and intuitive database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export SQL scripts, and custo…

Mise à jour Port 3000

Elasticsearch

Conteneur LXC

Elasticsearch is a distributed search and analytics engine. It is mostly deployed as the backend for something else - log aggregation, full-text search in an application…

Mise à jour Port 9200 Accès par défaut