Skip to content

Commit

Permalink
feat: enable redis engine for database services
Browse files Browse the repository at this point in the history
Fixes #19
  • Loading branch information
omermecitoglu committed Jan 6, 2025
1 parent 82cdf3e commit 15771f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/actions/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/services/ServiceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const ServiceForm = ({
"postgres",
// "mysql",
// "mongo",
// "redis",
"redis",
]}
optionName={dbEngineName}
/>
Expand Down

0 comments on commit 15771f3

Please sign in to comment.