Created
August 9, 2023 14:10
-
-
Save Karitham/6f380eaff764e979520fb85afa70f9ea to your computer and use it in GitHub Desktop.
dragonflydb template for a kraud app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.9' | |
name: dragonfly | |
x-kraud-ui: | |
label: "DragonflyDB" | |
description: | | |
Dragonfly is an in memory data store built for modern application workloads. | |
Fully compatible with Redis and Memcached APIs, | |
Dragonfly requires no code changes to adopt. | |
Compared to legacy in-memory datastores, Dragonfly delivers 25X more throughput, | |
higher cache hit rates with lower tail latency, | |
and can run on up to 80% less resources for the same sized workload. | |
post_launch: Check docker ps for port and domain. | |
logo_url: "https://avatars.githubusercontent.com/u/104819355" | |
ext_url: "https://github.com/karitham/gol" | |
config: | |
VOLUME_SIZE: | |
kind: "environment" | |
label: "volume size" | |
description: "size of the volume to store the data" | |
default: "10GB" | |
required: true | |
services: | |
dragonfly: | |
container_name: dragonflydb | |
image: 'docker.dragonflydb.io/dragonflydb/dragonfly' | |
labels: | |
kr.ingress.6379: tcp:// | |
ports: | |
- "6379:6379" | |
volumes: | |
- dragonflydata:/data | |
volumes: | |
dragonflydata: | |
driver_opts: | |
size: ${VOLUME_SIZE:-10GB} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment