diff --git a/blueprints/dragonfly-db/docker-compose.yml b/blueprints/dragonfly-db/docker-compose.yml new file mode 100644 index 00000000..0eba3ec9 --- /dev/null +++ b/blueprints/dragonfly-db/docker-compose.yml @@ -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: \ No newline at end of file diff --git a/blueprints/dragonfly-db/dragonfly-db.png b/blueprints/dragonfly-db/dragonfly-db.png new file mode 100644 index 00000000..b56b6f90 Binary files /dev/null and b/blueprints/dragonfly-db/dragonfly-db.png differ diff --git a/blueprints/dragonfly-db/template.toml b/blueprints/dragonfly-db/template.toml new file mode 100644 index 00000000..ce5a9aba --- /dev/null +++ b/blueprints/dragonfly-db/template.toml @@ -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" +""" diff --git a/meta.json b/meta.json index 3fdc5f61..36c641d8 100644 --- a/meta.json +++ b/meta.json @@ -227,6 +227,22 @@ "server" ] }, + { + "id": "dragonfly-db", + "name": "Dragonfly", + "version": "1.28.1", + "description": "Dragonfly is a drop-in Redis replacement that is designed for heavy data workloads running on modern cloud hardware.", + "logo": "dragonfly-db.png", + "links": { + "github": "https://github.com/dragonflydb/dragonfly", + "website": "https://www.dragonflydb.io/", + "docs": "https://www.dragonflydb.io/docs" + }, + "tags": [ + "database", + "redis", + ] + }, { "id": "uptime-kuma", "name": "Uptime Kuma",