feat: add dragonfly

This commit is contained in:
scanash00
2025-03-31 20:53:52 -08:00
parent cee3521a7f
commit c226a679f6
4 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
version: '3.8'
services:
dragonfly:
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
ulimits:
memlock: -1
ports:
- "6379:6379"
volumes:
- dragonflydata:/data
volumes:
dragonflydata:

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,27 @@
[variables]
main_domain = "${domain}"
my_password = "${password:32}"
any_helper = "${uuid}"
[config]
[[config.domains]]
serviceName = "dragonflydb"
port = 6379
host = "${main_domain}"
path = "/"
env = [
"DFDB_PASSWORD=${my_password}",
"DFDB_HOST=${main_domain}",
"DFDB_CLUSTER_ENABLED=${randomPort}",
"DFDB_LOG_LEVEL=info"
]
[[config.mounts]]
filePath = "/content/configuration.conf"
content = """
bind-address = "0.0.0.0"
port = 6379
log-level = "info"
"""