Skip to content

Instantly share code, notes, and snippets.

@gertjana
gertjana / Dockerfile
Created January 23, 2026 16:38
Run dragonfly with snapshot persistence
FROM dragonflydb/dragonfly:v1.27.1
WORKDIR /data
CMD ["--dir", "/data", "--snapshot_cron", "0 */1 * * *", "--compression_mode", "MULTI_ENTRY_LZ4"]