From 5c97dbe3fe7ce906dfa50ef11667e3397481cc32 Mon Sep 17 00:00:00 2001 From: Jing Chen <72108315+JingerTea@users.noreply.github.com> Date: Sat, 23 Aug 2025 01:18:24 -0400 Subject: [PATCH] feat: add drizzle gateway (#274) * feat: add drizzle gateway * fix: add missing template * Update and rename drizzle-gateway.yml to docker-compose.yml * feat: add meta json * Update meta.json * Update docker-compose.yml * Update docker-compose.yml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> --- blueprints/drizzle-gateway/docker-compose.yml | 19 +++++++++++++++++++ .../drizzle-gateway/drizzle-gateway.svg | 1 + blueprints/drizzle-gateway/template.toml | 14 ++++++++++++++ meta.json | 16 ++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 blueprints/drizzle-gateway/docker-compose.yml create mode 100644 blueprints/drizzle-gateway/drizzle-gateway.svg create mode 100644 blueprints/drizzle-gateway/template.toml diff --git a/blueprints/drizzle-gateway/docker-compose.yml b/blueprints/drizzle-gateway/docker-compose.yml new file mode 100644 index 00000000..46016576 --- /dev/null +++ b/blueprints/drizzle-gateway/docker-compose.yml @@ -0,0 +1,19 @@ +services: + drizzle-gateway: + image: ghcr.io/drizzle-team/gateway:latest + restart: always + environment: + PORT: "4983" + STORE_PATH: "/app" + MASTERPASS: ${MASTERPASS} + volumes: + - drizzle-gateway:/app + networks: + - dokploy-network + +volumes: + drizzle-gateway: + +networks: + dokploy-network: + external: true diff --git a/blueprints/drizzle-gateway/drizzle-gateway.svg b/blueprints/drizzle-gateway/drizzle-gateway.svg new file mode 100644 index 00000000..11ac72a2 --- /dev/null +++ b/blueprints/drizzle-gateway/drizzle-gateway.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/blueprints/drizzle-gateway/template.toml b/blueprints/drizzle-gateway/template.toml new file mode 100644 index 00000000..ed1cf38a --- /dev/null +++ b/blueprints/drizzle-gateway/template.toml @@ -0,0 +1,14 @@ +[variables] +main_domain = "${domain}" +masterpass = "${base64:32}" + +[config] +env = [ + "MASTERPASS=${masterpass}", +] +mounts = [] + +[[config.domains]] +serviceName = "drizzle-gateway" +port = 4_983 +host = "${main_domain}" diff --git a/meta.json b/meta.json index 5fc53fd7..de20a557 100644 --- a/meta.json +++ b/meta.json @@ -1452,6 +1452,22 @@ "diagrams" ] }, + { + "id": "drizzle-gateway", + "name": "drizzle gateway", + "version": "latest", + "description": "Drizzle Gateway is a self-hosted database gateway that allows you to connect to your databases from anywhere.", + "logo": "drizzle-gateway.svg", + "links": { + "github": "https://github.com/drizzle-team/drizzle-gateway", + "website": "https://drizzle-team.github.io/", + "docs": "https://drizzle-team.github.io/docs" + }, + "tags": [ + "database", + "gateway" + ] + }, { "id": "dumbassets", "name": "DumbAssets",