Docker Compose Database Setup (#379)

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
This commit is contained in:
Aidan Sunbury
2025-07-10 09:54:52 -07:00
committed by GitHub
parent 1f2f150f17
commit 3569b04ac4
27 changed files with 479 additions and 140042 deletions

View File

@@ -65,6 +65,20 @@ export async function getDBSetupChoice(
},
]
: []),
{
value: "docker" as const,
label: "Docker",
hint: "Run locally with docker compose",
},
{ value: "none" as const, label: "None", hint: "Manual setup" },
];
} else if (databaseType === "mysql") {
options = [
{
value: "docker" as const,
label: "Docker",
hint: "Run locally with docker compose",
},
{ value: "none" as const, label: "None", hint: "Manual setup" },
];
} else if (databaseType === "mongodb") {
@@ -74,6 +88,11 @@ export async function getDBSetupChoice(
label: "MongoDB Atlas",
hint: "The most effective way to deploy MongoDB",
},
{
value: "docker" as const,
label: "Docker",
hint: "Run locally with docker compose",
},
{ value: "none" as const, label: "None", hint: "Manual setup" },
];
} else {

View File

@@ -44,7 +44,7 @@ export async function getDeploymentChoice(
{
value: "workers",
label: "Cloudflare Workers",
hint: "Deploy to Cloudflare Workers using Wrangler",
hint: "Deploy to Cloudflare Workers using Wrangler",
},
{ value: "none", label: "None", hint: "Manual setup" },
];