From 15771f3210dcadbe67a0bb5092d2e0b042b202f4 Mon Sep 17 00:00:00 2001 From: Omer Mecitoglu Date: Mon, 6 Jan 2025 17:09:45 +0700 Subject: [PATCH] feat: enable redis engine for database services Fixes #19 --- src/actions/service.ts | 2 +- src/components/services/ServiceForm.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/service.ts b/src/actions/service.ts index 5a240a1..699d53f 100644 --- a/src/actions/service.ts +++ b/src/actions/service.ts @@ -48,7 +48,7 @@ export async function create(formData: FormData) { } if (data.repo === "redis") { envEntries.push(["REDIS_ARGS", "--appendonly yes"]); - portEntries.push(["6379", "6379"]); + // portEntries.push(["6379", "6379"]); const volume = await createVolume(tx, { containerPath: "/data", serviceId: service.id }); await createDockerVolume(volume.id); } diff --git a/src/components/services/ServiceForm.tsx b/src/components/services/ServiceForm.tsx index c29a329..c0df9fb 100644 --- a/src/components/services/ServiceForm.tsx +++ b/src/components/services/ServiceForm.tsx @@ -61,7 +61,7 @@ const ServiceForm = ({ "postgres", // "mysql", // "mongo", - // "redis", + "redis", ]} optionName={dbEngineName} />