Skip to content

Commit 15771f3

Browse files
committed
feat: enable redis engine for database services
Fixes #19
1 parent 82cdf3e commit 15771f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/actions/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function create(formData: FormData) {
4848
}
4949
if (data.repo === "redis") {
5050
envEntries.push(["REDIS_ARGS", "--appendonly yes"]);
51-
portEntries.push(["6379", "6379"]);
51+
// portEntries.push(["6379", "6379"]);
5252
const volume = await createVolume(tx, { containerPath: "/data", serviceId: service.id });
5353
await createDockerVolume(volume.id);
5454
}

src/components/services/ServiceForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const ServiceForm = ({
6161
"postgres",
6262
// "mysql",
6363
// "mongo",
64-
// "redis",
64+
"redis",
6565
]}
6666
optionName={dbEngineName}
6767
/>

0 commit comments

Comments
 (0)