Skip to content

feat: add the dragonfly cache preset - #46

Merged
geodro merged 4 commits into
lerd-env:mainfrom
putrafajarh:feat/dragonfly
Oct 19, 2026
Merged

geodro merged 4 commits into
lerd-env:mainfrom
putrafajarh:feat/dragonfly

Conversation

@putrafajarh

Copy link
Copy Markdown
Contributor

Adds Dragonfly as a cache option next to redis, valkey and memcached. It is a Redis-compatible in-memory store, so a linked site gets the same REDIS_HOST, CACHE_STORE, SESSION_DRIVER and QUEUE_CONNECTION wiring valkey uses.

It listens on 6379 inside the container and is published on 6381, so all three Redis-protocol presets can run side by side on the host. The image is pinned to the official ghcr.io build, since the Docker Hub repo stopped at v1.27.1 and docker.dragonflydb.io is not a registry. There is no brand mark yet, so it uses the bolt glyph in the cache tint, like memcached.

Dragonfly is a Redis-compatible in-memory store, added as a cache preset next to valkey. It speaks the Redis protocol on 6379 inside the container and is published on 6381 so it coexists with the redis and valkey presets, and it wires the same REDIS_HOST, CACHE_STORE, SESSION_DRIVER and QUEUE_CONNECTION values into a linked site's .env.
@putrafajarh
putrafajarh requested a review from a team as a code owner October 19, 2026 14:27
geodro and others added 3 commits October 19, 2026 17:36
Dragonfly starts one io thread per core and refuses to run unless it has 256MiB for each, so on a 32 thread machine it asked for 8GiB, found less free and exited, and systemd gave up after five restarts. Two threads and a 1GiB cap are plenty for local work. The image is also pinned to an exact tag, so update_strategy: minor lets lerd offer the next release.
The preset now ships the Dragonfly dragonfly as a monochrome mark instead of the generic bolt glyph, with the wordmark removed so only the square logo is left, and the README logo is regenerated from it.
The preset declared #6d28d9, a violet that is not in Dragonfly's logo. It now uses #5a3ee0, the purple the logo itself starts from, in the preset, both indexes and the README tile.
@geodro
geodro merged commit bd48edf into lerd-env:main Oct 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants